Class EmptyRacer

java.lang.Object
  extended by jrobots.simulation.simulationObjects.AbstractPilot
      extended by jrobots.simulation.simulationObjects.Pilot
          extended by jrobots.simulation.simulationObjects.JRobot2016A
              extended by EmptyRacer
All Implemented Interfaces:
java.io.Serializable

public class EmptyRacer
extends JRobot2016A

He is the oldest of all race pilots.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jrobots.simulation.simulationObjects.Pilot
Pilot.DropperCommand, Pilot.LauncherAmmunition
 
Field Summary
 
Fields inherited from class jrobots.simulation.simulationObjects.Pilot
DOWN, LEFT, RIGHT, UP
 
Fields inherited from class jrobots.simulation.simulationObjects.AbstractPilot
memoryConsumption
 
Constructor Summary
EmptyRacer()
           
 
Method Summary
protected  void actions()
          At every simulation cycle every JRobot plans its next actions.
 
Methods inherited from class jrobots.simulation.simulationObjects.JRobot2016A
addDebugArrow, addDebugCrosshair, addDebugLine, addDebugLine, down, getBodyFactory, getCurrentTerrain, getEnergyConsumptionEngine, getEnergyProductionPerSecond, getFramesPerSecond, getMaxBackwardVelocity, getMaxForwardVelocity, getOrientation, getPosition, getPosOfBestBot, getVelocity, left, right, setAutopilot, setBodyColor, setBoost, setDebugLines, setNameColor, up
 
Methods inherited from class jrobots.simulation.simulationObjects.Pilot
getBodyColor, getEnergy, getHealth, getName, getNameColor, getTime, getTurretColor, init
 
Methods inherited from class jrobots.simulation.simulationObjects.AbstractPilot
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyRacer

public EmptyRacer()
Method Detail

actions

protected void actions()
Description copied from class: JRobot2016A
At every simulation cycle every JRobot plans its next actions. This happens by the framework calling this method.
Every participant is programming the decisions the JRobot will take in any possible situation. The following allotment of methods will help you in doing so.

Every JRobot has only limited knowledge of its surroundings. That limit is set by its sensors. Sensors in general are methods starting with get...:

The JRobot is called for actions, which are will have effect in the next simulation cycle. Issued actions in general are methods starting with set...:

In package jrobots.utils there are several helper classes to be used as necessary.

You may want to add fields to your JRobot class.

While it is possible to use static fields, these are not affected by the timeline slider in the GUI, which makes debugging less practical. Please don't use static fields while you can avoid it.

Runtime and memory are watched by the framework. If a reasonable use of the framework is confined by your programming, the responsible JRobot may be expelled from the competition.
Exceptions will be caught by the framework and the JRobot will be restarted. Please be aware of exceptions on the console, as the robot loses its memory at every restart.

Specified by:
actions in class JRobot2016A