|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Unit | +--RPGUnit
This is the special soldier that carries a Rocket Propelled Gernade (RPG). The stats are: health - 50, movementRange - 2, firepower - 100, armor - 10, cost - 7.
Field Summary | |
(package private) static javax.swing.ImageIcon |
unitIcon
|
Fields inherited from class Unit |
armor,
attacked,
cost,
firepower,
forest,
health,
maxHealth,
moved,
movementRange,
nextUnit,
number,
passableTerrain,
posx,
posy,
prevx,
prevy,
type,
unitIcon,
water |
Constructor Summary | |
RPGUnit()
|
Methods inherited from class Unit |
addPassableTerrain,
getArmor,
getCost,
getFirePower,
getHealth,
getIcon,
getMaxHealth,
getMovementRange,
getNext,
getNumber,
getOldX,
getOldY,
getPositionX,
getPositionY,
getType,
hasAttacked,
hasMoved,
isPassable,
setAttacked,
setHealth,
setIcon,
setMoved,
setNext,
setNumber,
setPositionX,
setPositionY,
takeDamage |
Methods inherited from class java.lang.Object |
|
Field Detail |
static javax.swing.ImageIcon unitIcon
Constructor Detail |
public RPGUnit()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |