Interface IUpdateable
Interface for updateable entities.
public interface IUpdateable
Properties
Enabled
Indicates if Update(GameTime) will be called.
bool Enabled { get; }
Property Value
UpdateOrder
The update order of this GameComponent relative to other GameComponent instances.
int UpdateOrder { get; }
Property Value
Methods
Update(GameTime)
Called when this IUpdateable should update itself.
void Update(GameTime gameTime)
Parameters
gameTime
GameTimeThe elapsed time since the last call to Update(GameTime).
Events
EnabledChanged
Raised when Enabled changed.
event EventHandler<EventArgs> EnabledChanged
Event Type
UpdateOrderChanged
Raised when UpdateOrder changed.
event EventHandler<EventArgs> UpdateOrderChanged