com.croftsoft.apps.mars.ai
Class DefaultTankOperator

java.lang.Object
  extended by com.croftsoft.apps.mars.ai.DefaultTankOperator
All Implemented Interfaces:
TankOperator, Serializable

public final class DefaultTankOperator
extends Object
implements TankOperator, Serializable

Default TankOperator implementation.

Since:
2003-03-21
Version:
2003-05-10
See Also:
Serialized Form
Author:
David Wallace Croft

Constructor Summary
DefaultTankOperator(Random random)
           
 
Method Summary
 void fire()
           
 Iterator getPath()
           
 void go(PointXY destination)
           
 void setTankConsole(TankConsole tankConsole)
           
 void update(double timeDelta)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTankOperator

public DefaultTankOperator(Random random)
Method Detail

fire

public void fire()
Specified by:
fire in interface TankOperator

go

public void go(PointXY destination)
Specified by:
go in interface TankOperator

setTankConsole

public void setTankConsole(TankConsole tankConsole)
Specified by:
setTankConsole in interface TankOperator

update

public void update(double timeDelta)
Specified by:
update in interface TankOperator

getPath

public Iterator getPath()
Specified by:
getPath in interface TankOperator

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)