IEntityΒΆ
-
interface
IEntity
: IHasTransform Represents an entity.
For a base implementation that has the required interfaces implemented, inherit from T:Protogame.Entity.
For a base implementation that supports components, inherit from T:Protogame.ComponentizedEntity.
-
void
Render
(IGameContext gameContext, IRenderContext renderContext) Called by the T:Protogame.IWorldManager when it’s time for this entity to be rendered in the game.
Parameters: - gameContext (Protogame.IGameContext) – The game context.
- renderContext (Protogame.IRenderContext) – The render context.
-
void
Update
(IGameContext gameContext, IUpdateContext updateContext) Called by the T:Protogame.IWorldManager when this entity’s state should be updated in the game.
Parameters: - gameContext (Protogame.IGameContext) – The game context.
- updateContext (Protogame.IUpdateContext) – The update context.
-
void