-
Notifications
You must be signed in to change notification settings - Fork 115
EntitySystem
Fabio Ticconi edited this page Aug 19, 2015
·
28 revisions
This is the most common type of System. Contrarily to BaseSystem, it subscribes to entities matching its Aspect.
Upon calling world.process()
, your systems are processed in sequence. Override the following methods to integrate your game logic.
-
initialize()
- Manually initialize your system. (Use @Wire instead!) -
begin()
- Called before the entities are processed. -
processSystem()
- Called once per cycle. -
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