public interface IDrawable
Modifier and Type | Field and Description |
---|---|
static System.Event<System.EventArgs> |
DrawOrderChanged
Raised when the DrawOrder property changes.
|
static System.Event<System.EventArgs> |
VisibleChanged
Raised when the Visible property changes.
|
Modifier and Type | Method and Description |
---|---|
void |
Draw(GameTime gameTime)
Draws the IDrawable.
|
int |
getDrawOrder()
The order in which to draw this object relative to other objects.
|
boolean |
getVisible()
Indicates whether IDrawable.Draw should be called in Game.Draw for this game component.
|
static final System.Event<System.EventArgs> DrawOrderChanged
static final System.Event<System.EventArgs> VisibleChanged
int getDrawOrder()
boolean getVisible()
void Draw(GameTime gameTime)
gameTime
- Snapshot of the game's timing state.