C# Class Nez.EntitySystem

显示文件 Open project: prime31/Nez Class Usage Examples

Protected Properties

Property Type Description
_entities List
_matcher Matcher
_scene Scene

Public Methods

Method Description
EntitySystem ( ) : System
EntitySystem ( Matcher matcher ) : System
add ( System.Entity entity ) : void
lateUpdate ( ) : void
onAdded ( System.Entity entity ) : void
onChange ( System.Entity entity ) : void
onRemoved ( System.Entity entity ) : void
remove ( System.Entity entity ) : void
update ( ) : void

Protected Methods

Method Description
begin ( ) : void
end ( ) : void
lateProcess ( List entities ) : void
process ( List entities ) : void

Method Details

EntitySystem() public method

public EntitySystem ( ) : System
return System

EntitySystem() public method

public EntitySystem ( Matcher matcher ) : System
matcher Matcher
return System

add() public method

public add ( System.Entity entity ) : void
entity System.Entity
return void

begin() protected method

protected begin ( ) : void
return void

end() protected method

protected end ( ) : void
return void

lateProcess() protected method

protected lateProcess ( List entities ) : void
entities List
return void

lateUpdate() public method

public lateUpdate ( ) : void
return void

onAdded() public method

public onAdded ( System.Entity entity ) : void
entity System.Entity
return void

onChange() public method

public onChange ( System.Entity entity ) : void
entity System.Entity
return void

onRemoved() public method

public onRemoved ( System.Entity entity ) : void
entity System.Entity
return void

process() protected method

protected process ( List entities ) : void
entities List
return void

remove() public method

public remove ( System.Entity entity ) : void
entity System.Entity
return void

update() public method

public update ( ) : void
return void

Property Details

_entities protected_oe property

protected List _entities
return List

_matcher protected_oe property

protected Matcher,Nez _matcher
return Matcher

_scene protected_oe property

protected Scene _scene
return Scene