C# Class MegaMan.Engine.Entities.GameEntityPool

Inheritance: IEntityPool
Afficher le fichier Open project: Tesserex/C--MegaMan-Engine Class Usage Examples

Méthodes publiques

Méthode Description
CreateEntity ( string name ) : GameEntity
CreateEntityWithId ( string id, string name ) : GameEntity
GameEntityPool ( IEntitySource entitySource ) : System
GetAll ( ) : IEnumerable
GetEntityById ( string id ) : GameEntity
GetNumberAlive ( string name ) : int
GetTotalAlive ( ) : int
RemoveAll ( ) : void
UnloadAll ( ) : void

Private Methods

Méthode Description
BindEntityEventRegistration ( string id, GameEntity entity ) : void
RemoveEntity ( string id, GameEntity entity ) : void

Method Details

CreateEntity() public méthode

public CreateEntity ( string name ) : GameEntity
name string
Résultat GameEntity

CreateEntityWithId() public méthode

public CreateEntityWithId ( string id, string name ) : GameEntity
id string
name string
Résultat GameEntity

GameEntityPool() public méthode

public GameEntityPool ( IEntitySource entitySource ) : System
entitySource IEntitySource
Résultat System

GetAll() public méthode

public GetAll ( ) : IEnumerable
Résultat IEnumerable

GetEntityById() public méthode

public GetEntityById ( string id ) : GameEntity
id string
Résultat GameEntity

GetNumberAlive() public méthode

public GetNumberAlive ( string name ) : int
name string
Résultat int

GetTotalAlive() public méthode

public GetTotalAlive ( ) : int
Résultat int

RemoveAll() public méthode

public RemoveAll ( ) : void
Résultat void

UnloadAll() public méthode

public UnloadAll ( ) : void
Résultat void