sample.tank
Class SittingDuck

java.lang.Object
  extended by net.sf.tankbattles.simulation.tank.AbstractTankController
      extended by sample.tank.SittingDuck
All Implemented Interfaces:
java.lang.Runnable

public class SittingDuck
extends AbstractTankController

This implementation just does nothing.

Author:
erickpassos

Constructor Summary
SittingDuck()
           
 
Method Summary
 void run()
          Main method for managing the tank behavior.
 
Methods inherited from class net.sf.tankbattles.simulation.tank.AbstractTankController
isAlive, onCollision, onHitByBullet, onRadarDetection, setLock, setTankNode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SittingDuck

public SittingDuck()
Method Detail

run

public void run()
Main method for managing the tank behavior. Each Tank is controlled by its own thread, which executes this run() method.