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
Afficher le fichier Open project: MichaelAquilina/Some-2D-RPG

Méthodes publiques

Méthode 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 méthode

public PostCreate ( GameTime gameTime, TeeEngine engine ) : void
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
Résultat void

PostDestroy() public méthode

public PostDestroy ( GameTime gameTime, TeeEngine engine ) : void
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
Résultat void

PreCreate() public méthode

public PreCreate ( GameTime gameTime, TeeEngine engine ) : bool
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
Résultat bool

PreDestroy() public méthode

public PreDestroy ( GameTime gameTime, TeeEngine engine ) : bool
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
Résultat bool

Update() public méthode

public Update ( GameTime gameTime, TeeEngine engine ) : void
gameTime Microsoft.Xna.Framework.GameTime
engine TeeEngine
Résultat void