-
Notifications
You must be signed in to change notification settings - Fork 116
EntityProcessingSystem
Fabio Ticconi edited this page Aug 19, 2015
·
7 revisions
Processes entities one at a time. Note that, differently from EntitySystem, you do not override processSystem
but process
.
Upon calling world.process()
, your systems are processed in sequence. Override the following methods in your EntityProcessingSystem to integrate your game logic.
-
initialize()
- Manually initialize your system. (Use @Wire instead!) -
begin()
- Called before the entities are processed. -
process(Entity e)
- Called for every Aspect matching entity. -
end()
- Called after the entities have been processed. -
inserted(int entityId)
- Called when a matching entity has been created (or the matching components added). -
removed(int entityId)
- Called when a matching entity has been deleted (or the matching components removed).
- Overview
- Concepts
- Getting Started
- Using
- More guides
- Plugins
- Game Gallery
- Tools and Frameworks
- API reference