C# Class Entitas.ContextExtension

Datei anzeigen Open project: sschmid/Entitas-CSharp

Public Methods

Method Description
CloneEntity ( this context, Entity entity, bool replaceExisting = false ) : Entity
CreateCollector ( this context, IMatcher matcher, GroupEvent groupEvent = GroupEvent.Added ) : Collector
GetEntities ( this context, IMatcher matcher ) : Entitas.Entity[]

Method Details

CloneEntity() public static method

public static CloneEntity ( this context, Entity entity, bool replaceExisting = false ) : Entity
context this
entity Entity
replaceExisting bool
return Entity

CreateCollector() public static method

public static CreateCollector ( this context, IMatcher matcher, GroupEvent groupEvent = GroupEvent.Added ) : Collector
context this
matcher IMatcher
groupEvent GroupEvent
return Collector

GetEntities() public static method

public static GetEntities ( this context, IMatcher matcher ) : Entitas.Entity[]
context this
matcher IMatcher
return Entitas.Entity[]