rl.centurion.game
Class FiringAttemptOrder
java.lang.Object
rl.centurion.game.FiringAttemptOrder
- All Implemented Interfaces:
- java.io.Serializable
public class FiringAttemptOrder
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
FiringAttemptOrder(int weaponIndex,
java.lang.String weaponName,
java.lang.String ammoType,
boolean turretWeapon,
int firingArc,
boolean frontArc)
This constructor is used for vehicles declaring a fairing attempt order |
FiringAttemptOrder(java.lang.String weaponName)
This constructor is used for InfantrySquads |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FiringAttemptOrder
public FiringAttemptOrder(int weaponIndex,
java.lang.String weaponName,
java.lang.String ammoType,
boolean turretWeapon,
int firingArc,
boolean frontArc)
- This constructor is used for vehicles declaring a fairing attempt order
- Parameters:
weaponIndex - the index of the equipment mount in the vehicle designweaponName - the name of the weaponammoType - the type of ammunition to be used (only affects weapons that have ammo type choice)turretWeapon - set if this weapon is mounted in a turretfiringArc - the firing arc of the weaponfrontArc - whether the weapon is firing through the front arc.
FiringAttemptOrder
public FiringAttemptOrder(java.lang.String weaponName)
- This constructor is used for InfantrySquads
- Parameters:
weaponName - the name of the weapon being fired.
getWeaponName
public java.lang.String getWeaponName()
getWeaponIndex
public int getWeaponIndex()
getAmmoType
public java.lang.String getAmmoType()
isTurretWeapon
public boolean isTurretWeapon()
isFrontArc
public boolean isFrontArc()
getFiringArc
public int getFiringArc()