public boolean execute(Robot paramRobot)
  {
    if (!this.animating)
    {
      int i = this.where.getDirection(paramRobot);

      switch (i) {
      case 0:
        i = 180; break;
      case 180:
        i = 0; break;
      case 90:
        i = 270; break;
      case 270:
        i = 90; break;
      }
      paramRobot.setState(2, i);
    }
    this.animating = TurnInstruction.updateState(paramRobot);
    paramRobot.repaint();
    return !this.animating;
  }