|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--net.vee.btech.component.AbstractComponent
|
+--net.vee.btech.component.AbstractWeapon
|
+--net.vee.btech.component.AbstractAmmunitionWeapon
A component designed to deal damage to an object.
| Field Summary | |
protected AmmunitionBay |
mAmmunitionBay
|
protected int |
mRoundsPerTon
|
| Fields inherited from class net.vee.btech.component.AbstractWeapon |
mDamage, mHeat, mLongRange, mMediumRange, mMinimumRange, mShortRange |
| Fields inherited from interface net.vee.btech.component.Weapon |
ARTILLERY, AUTOCANNON, LASER, MACHINE_GUN, MISSILE, PARTICLE_CANNON |
| Fields inherited from interface net.vee.btech.component.Component |
AMMUNITION_BAY, COCKPIT, ENGINE, GYRO, HEAT_SINK, JUMP_JET, LIFE_SUPPORT, SENSORS, WEAPON |
| Constructor Summary | |
AbstractAmmunitionWeapon(java.lang.String aType,
int aMass,
int aSize,
int aHeat,
int aDamage,
int aShortRange,
int aMediumRange,
int aLongRange,
int aMinimumRange,
int aRoundsPerTon)
Constructs a new AbstractAmmunitionWeapon. |
|
| Method Summary | |
AmmunitionBay |
getAmmunitionBay()
|
int |
getRoundsPerTon()
|
void |
setAmmunitionBay(AmmunitionBay aAmmoBay)
|
| Methods inherited from class net.vee.btech.component.AbstractWeapon |
getComponentType, getDamage, getHeat, getLongRange, getMediumRange, getMinimumRange, getShortRange |
| Methods inherited from class net.vee.btech.component.AbstractComponent |
getMass, getSize, getType, isDamaged, isDestroyed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.vee.btech.component.Weapon |
getDamage, getLongRange, getMediumRange, getMinimumRange, getShortRange, getWeaponType |
| Methods inherited from interface net.vee.btech.component.Component |
getComponentType, getHeat, getMass, getSize, getType, isDamaged, isDestroyed |
| Field Detail |
protected int mRoundsPerTon
protected AmmunitionBay mAmmunitionBay
| Constructor Detail |
public AbstractAmmunitionWeapon(java.lang.String aType,
int aMass,
int aSize,
int aHeat,
int aDamage,
int aShortRange,
int aMediumRange,
int aLongRange,
int aMinimumRange,
int aRoundsPerTon)
| Method Detail |
public int getRoundsPerTon()
getRoundsPerTon in interface AmmunitionWeaponpublic AmmunitionBay getAmmunitionBay()
getAmmunitionBay in interface AmmunitionWeaponpublic void setAmmunitionBay(AmmunitionBay aAmmoBay)
setAmmunitionBay in interface AmmunitionWeapon
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||