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

Method Summary
 void fire()
           
 int getAmmo()
           
 double getBodyHeading()
           
 double getBodyRotationSpeed()
           
 PointXY getClosestAmmoDumpCenter()
           
 PointXY getClosestEnemyTankCenter()
           
 Shape getShape()
           
 double getTankSpeed()
           
 double getTurretHeading()
           
 void go(PointXY destination)
           
 void rotateTurret(PointXY targetPointXY)
           
 
Methods inherited from interface com.croftsoft.apps.mars.model.TankAccessor
getColor, getDamage, getRadius, isDryFiring, isFiring, isSparking
 
Methods inherited from interface com.croftsoft.apps.mars.model.ModelAccessor
getZ, isActive, isUpdated
 
Methods inherited from interface com.croftsoft.core.ai.astar.SpaceTester
isSpaceAvailable
 

Method Detail

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 Javadoc

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