Exemple #1
0
 /**
  * Process all non-passive systems.
  *
  * @see InvocationStrategy to control and extend how systems are invoked.
  */
 public void process() {
   updateEntityStates();
   invocationStrategy.process(systemsBag);
 }
Exemple #2
0
 /** Set strategy for invoking systems on {@link #process()}. */
 protected void setInvocationStrategy(SystemInvocationStrategy invocationStrategy) {
   this.invocationStrategy = invocationStrategy;
   invocationStrategy.setWorld(this);
   invocationStrategy.initialize();
 }