Class Klingon

java.lang.Object
  extended by 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)

Constructor Summary
Klingon()
           
 
Method Summary
 void addToPoints(int amount)
           
 void attacked(int damageAmount, int si)
           
 void carryOutActions()
           
 void deductPoints(int amount)
           
 void findNearbyStarBases()
           
 Weapon getMachineGun()
           
 Weapon getPlasmaBlaster()
           
 int getPoints()
           
 FighterShipEngine getShipEngine()
           
 void print()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface FighterShip
getWeapon
 

Constructor Detail

Klingon

public Klingon()
Method Detail

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