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