Skip to content

EntityProcessingSystem

cpw edited this page Nov 9, 2014 · 7 revisions

Processes entities one at a time.

Execution flow

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