C# Class Entitas.Group

显示文件 Open project: sschmid/Entitas-CSharp Class Usage Examples

Public Methods

Method 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

Method 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 method

public ContainsEntity ( Entity entity ) : bool
entity Entity
return bool

GetEntities() public method

public GetEntities ( ) : Entity[]
return Entity[]

GetSingleEntity() public method

public GetSingleEntity ( ) : Entity
return Entity

Group() public method

public Group ( IMatcher matcher ) : System.Collections.Generic
matcher IMatcher
return System.Collections.Generic

HandleEntity() public method

public HandleEntity ( Entity entity, int index, IComponent component ) : void
entity Entity
index int
component IComponent
return void

HandleEntitySilently() public method

public HandleEntitySilently ( Entity entity ) : void
entity Entity
return void

RemoveAllEventHandlers() public method

public RemoveAllEventHandlers ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

UpdateEntity() public method

public UpdateEntity ( Entity entity, int index, IComponent previousComponent, IComponent newComponent ) : void
entity Entity
index int
previousComponent IComponent
newComponent IComponent
return void