Class Klingon
java.lang.Object
Klingon
- All Implemented Interfaces:
- Enemy, FighterShip, GameItem
public class Klingon
- extends java.lang.Object
- implements Enemy
Write a description of class StarBase here.
- Version:
- (28/03/06)
- Author:
- (AFZAL BHAMJEE, REHAN ANWAR)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface FighterShip |
getWeapon |
Klingon
public Klingon()
addToPoints
public void addToPoints(int amount)
attacked
public void attacked(int damageAmount,
int si)
- Specified by:
attacked
in interface GameItem
carryOutActions
public void carryOutActions()
- Specified by:
carryOutActions
in interface GameItem
deductPoints
public void deductPoints(int amount)
findNearbyStarBases
public void findNearbyStarBases()
getMachineGun
public Weapon getMachineGun()
getPlasmaBlaster
public Weapon getPlasmaBlaster()
getPoints
public int getPoints()
getShipEngine
public FighterShipEngine getShipEngine()
- Specified by:
getShipEngine
in interface FighterShip
print
public void print()
- Specified by:
print
in interface GameItem