Example #1
0
  public void run() {

    super.run();

    try {

      if (this.robotController.isCoreReady()) {

        this.trySpawn(this.movementController.randomDirection(), Drone.type());
      }

    } catch (GameActionException exception) {
    }

    this.robotController.yield();
  }
  public void run() {

    super.run();

    this.robotController.yield();
  }