Interface IDrawable
Interface for drawable entities.
public interface IDrawable
Properties
DrawOrder
int DrawOrder { get; }
Property Value
Visible
Indicates if Draw(GameTime) will be called.
bool Visible { get; }
Property Value
Methods
Draw(GameTime)
Called when this IDrawable should draw itself.
void Draw(GameTime gameTime)
Parameters
gameTime
GameTimeThe elapsed time since the last call to Draw(GameTime).
Events
DrawOrderChanged
Raised when DrawOrder changed.
event EventHandler<EventArgs> DrawOrderChanged
Event Type
VisibleChanged
Raised when Visible changed.
event EventHandler<EventArgs> VisibleChanged