C# Class GameEngine.GameObjects.StaticEntity

Represents a Static object on the map that is not associated with any particular Entity subclass. By wrapping the Entity in this StaticEntity class, the user may specify Update, PreCreate, PreDestroy, PostCreate and PostDestroy routines to run within the tile editor through the use of event hooks.
Inheritance: Entity
Mostra file Open project: MichaelAquilina/Some-2D-RPG

Public Methods

Method Description
PostCreate ( GameTime gameTime, TeeEngine engine ) : void
PostDestroy ( GameTime gameTime, TeeEngine engine ) : void
PreCreate ( GameTime gameTime, TeeEngine engine ) : bool
PreDestroy ( GameTime gameTime, TeeEngine engine ) : bool
Update ( GameTime gameTime, TeeEngine engine ) : void

Method Details

PostCreate() public method

public PostCreate ( GameTime gameTime, TeeEngine engine ) : void
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
return void

PostDestroy() public method

public PostDestroy ( GameTime gameTime, TeeEngine engine ) : void
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
return void

PreCreate() public method

public PreCreate ( GameTime gameTime, TeeEngine engine ) : bool
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
return bool

PreDestroy() public method

public PreDestroy ( GameTime gameTime, TeeEngine engine ) : bool
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
return bool

Update() public method

public Update ( GameTime gameTime, TeeEngine engine ) : void
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
return void