public abstract class UnitAbstract extends java.lang.Object implements Unit
Constructor and Description |
---|
UnitAbstract() |
Modifier and Type | Method and Description |
---|---|
boolean |
canShoreBombard() |
boolean |
expiresAfterAttack() |
int |
getAttack() |
int |
getAttackMovement() |
abstract int |
getCost() |
int |
getDefend() |
int |
getHeight() |
java.lang.String |
getImageFilename() |
int |
getMovement() |
int |
getNukeLevel() |
int |
getNumberOffsetX() |
int |
getNumberOffsetY() |
Player |
getOwner() |
java.lang.String |
getShortString() |
java.lang.String |
getSpecialString() |
abstract int |
getType() |
int |
getWidth() |
boolean |
isAir() |
boolean |
isCastle() |
boolean |
isFlag() |
boolean |
isFort() |
boolean |
isSub() |
boolean |
isWater() |
abstract java.lang.String |
toString() |
int |
transportCapacity() |
int |
transportCapacityAir() |
int |
transportCapacityMissiles() |
int |
transportWeight() |
public boolean canShoreBombard()
canShoreBombard
in interface Unit
public boolean expiresAfterAttack()
expiresAfterAttack
in interface Unit
public int getAttackMovement()
getAttackMovement
in interface Unit
public java.lang.String getImageFilename()
getImageFilename
in interface Unit
public int getMovement()
getMovement
in interface Unit
public int getNukeLevel()
getNukeLevel
in interface Unit
public int getNumberOffsetX()
getNumberOffsetX
in interface Unit
public int getNumberOffsetY()
getNumberOffsetY
in interface Unit
public java.lang.String getShortString()
getShortString
in interface Unit
public java.lang.String getSpecialString()
getSpecialString
in interface Unit
public abstract java.lang.String toString()
toString
in class java.lang.Object
public int transportCapacity()
transportCapacity
in interface Unit
public int transportCapacityAir()
transportCapacityAir
in interface Unit
public int transportCapacityMissiles()
transportCapacityMissiles
in interface Unit
public int transportWeight()
transportWeight
in interface Unit