EntitySystem

Description

Type EntitySystem
Method enableSystem (
)

Method disableSystem (
)

Method isEnabled:Byte (
)

Method onDisabled (
)

Method onEnabled (
)

Method cleanup (
)

Method getEntityManager:EntityManager (
)

Method isSweeper:Byte (
)

Method processEntities (
     entities:EntityBag
)

Method checkProcessing:Short (
)

Method beforeProcessEntities (
)

Method afterProcessEntities (
)

Method process (
)

Method setSystemBit (
     bit:Long
)

Method setWorld (
     w:World
)

Method getWorld:World (
)

Method initialize (
)

Method added (
     e:Entity
)

Method removed (
     e:Entity
)

Method change (
     e:Entity
)

Method remove (
     e:Entity
)

Method registerComponentByName (
     componentTypeName:String
)

Method registerComponents (
     componentTypeList:TTypeId[]
)

Method registerComponent (
     t:TTypeId
)

Method New (
)

End Type

An EntitySystem is used to perform actions on entities. The entities that are processed can be limited to just entities with one or more specific components. For example, a `PlayerInputSystem` that only processes entities with a`PlayerComponent`. This is the base class that all other systems should extend.