com.croftsoft.apps.mars.ai
Interface TankConsole
- All Superinterfaces:
- ModelAccessor, SpaceTester, TankAccessor
- All Known Subinterfaces:
- Tank
- All Known Implementing Classes:
- SeriTank
public interface TankConsole
- extends TankAccessor, SpaceTester
The tank console.
- Since:
- 2003-03-29
- Version:
- 2003-04-29
- Author:
- David Wallace Croft
getAmmo
int getAmmo()
- Specified by:
getAmmo
in interface TankAccessor
getBodyHeading
double getBodyHeading()
- Specified by:
getBodyHeading
in interface TankAccessor
getBodyRotationSpeed
double getBodyRotationSpeed()
getShape
Shape getShape()
- Specified by:
getShape
in interface ModelAccessor
getTankSpeed
double getTankSpeed()
getTurretHeading
double getTurretHeading()
- Specified by:
getTurretHeading
in interface TankAccessor
getClosestAmmoDumpCenter
PointXY getClosestAmmoDumpCenter()
getClosestEnemyTankCenter
PointXY getClosestEnemyTankCenter()
fire
void fire()
go
void go(PointXY destination)
rotateTurret
void rotateTurret(PointXY targetPointXY)
CroftSoft Apps Javadoc (2008-09-28 21:15:07)