spacewar
Class Robot

java.lang.Object
  |
  +--spacewar.Pilot
        |
        +--spacewar.Robot

class Robot
extends Pilot

Robot is an automatic pilot that now has quite a bit of intelligence. So, beware !


Fields inherited from class spacewar.Pilot
ship
 
Constructor Summary
(package private) Robot(Game theGame, int number)
          
 
Method Summary
(package private)  void destroy()
          
 void run()
          
(package private)  void sleepForABit(int time)
          
(package private)  void start()
          
 
Methods inherited from class spacewar.Pilot
getGame, getNumber, getShip, setShip
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Robot

Robot(Game theGame,
      int number)
Method Detail

start

void start()

destroy

void destroy()

run

public void run()

sleepForABit

void sleepForABit(int time)