com.croftsoft.apps.mars.ai
Class DirectedTankOperator

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

public final class DirectedTankOperator
extends Object
implements TankOperator, Serializable

TankOperator implementation that requires direction.

Since:
2003-04-17
Version:
2003-05-13
See Also:
Serialized Form
Author:
David Wallace Croft

Constructor Summary
DirectedTankOperator(TankConsole tankConsole)
           
 
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

DirectedTankOperator

public DirectedTankOperator(TankConsole tankConsole)
Method Detail

fire

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

go

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

getPath

public Iterator getPath()
Specified by:
getPath 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

CroftSoft Javadoc

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