Esempio n. 1
0
  /** Execute a one shot task or start executing a continuous task */
  public void startExecuting() {
    if (targetVillager != null) {
      villagerObj.setPlaying(true);
    }

    playTime = 1000;
  }
Esempio n. 2
0
 /** Resets the task */
 public void resetTask() {
   villagerObj.setPlaying(false);
   targetVillager = null;
 }