|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDrawable
Defines the interface for a drawable game component.
Field Summary | |
---|---|
static System.Event<System.EventArgs> |
DrawOrderChanged
Raised when the DrawOrder property changes. |
static System.Event<System.EventArgs> |
VisibleChanged
Raised when the Visible property changes. |
Method Summary | |
---|---|
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. |
Field Detail |
---|
static final System.Event<System.EventArgs> DrawOrderChanged
static final System.Event<System.EventArgs> VisibleChanged
Method Detail |
---|
int getDrawOrder()
boolean getVisible()
void Draw(GameTime gameTime)
gameTime
- Snapshot of the game's timing state.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |