Skip to content
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.

Execution flow

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).
Clone this wiki locally