Exemplo n.º 1
0
  /** Runs task processing and mob synchronization. */
  public void runGameLoop() {
    tasks.runTaskIteration();

    synchronizer.preSynchronize();
    synchronizer.synchronize();
    synchronizer.postSynchronize();
  }
Exemplo n.º 2
0
 /** Schedules {@code task} to run sometime in the future. */
 public void schedule(Task task) {
   tasks.schedule(task);
 }