C# Class Entitas.Group

Afficher le fichier Open project: sschmid/Entitas-CSharp Class Usage Examples

Méthodes publiques

Méthode Description
ContainsEntity ( Entity entity ) : bool
GetEntities ( ) : Entity[]
GetSingleEntity ( ) : Entity
Group ( IMatcher matcher ) : System.Collections.Generic
HandleEntity ( Entity entity, int index, IComponent component ) : void
HandleEntitySilently ( Entity entity ) : void
RemoveAllEventHandlers ( ) : void
ToString ( ) : string
UpdateEntity ( Entity entity, int index, IComponent previousComponent, IComponent newComponent ) : void

Private Methods

Méthode Description
addEntity ( Entity entity, int index, IComponent component ) : void
addEntitySilently ( Entity entity ) : bool
handleEntity ( Entity entity ) : GroupChanged
removeEntity ( Entity entity, int index, IComponent component ) : void
removeEntitySilently ( Entity entity ) : bool

Method Details

ContainsEntity() public méthode

public ContainsEntity ( Entity entity ) : bool
entity Entity
Résultat bool

GetEntities() public méthode

public GetEntities ( ) : Entity[]
Résultat Entity[]

GetSingleEntity() public méthode

public GetSingleEntity ( ) : Entity
Résultat Entity

Group() public méthode

public Group ( IMatcher matcher ) : System.Collections.Generic
matcher IMatcher
Résultat System.Collections.Generic

HandleEntity() public méthode

public HandleEntity ( Entity entity, int index, IComponent component ) : void
entity Entity
index int
component IComponent
Résultat void

HandleEntitySilently() public méthode

public HandleEntitySilently ( Entity entity ) : void
entity Entity
Résultat void

RemoveAllEventHandlers() public méthode

public RemoveAllEventHandlers ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UpdateEntity() public méthode

public UpdateEntity ( Entity entity, int index, IComponent previousComponent, IComponent newComponent ) : void
entity Entity
index int
previousComponent IComponent
newComponent IComponent
Résultat void