rl.leviathan.game
Class PointDefenceAttemptOrder
java.lang.Object
rl.leviathan.game.PointDefenceAttemptOrder
- All Implemented Interfaces:
- java.io.Serializable
public class PointDefenceAttemptOrder
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PointDefenceAttemptOrder
public PointDefenceAttemptOrder(int weaponIndex,
java.lang.String weaponName,
ShipSide firingArc,
float percentageAllocation,
Coordinate sourceCoordinate,
Coordinate targetCoordinate)
- This constructor is used for ships declaring a firing attempt order
- Parameters:
weaponIndex - the index of the equipment mount in the vehicle designweaponName - the name of the weaponfiringArc - the firing arc of the weapontargetSide - the side of the target that the attack is directed againstsourceCoordinate - the map coordinate that the attack originates fromtargetCoordinate - the map coordinate that the attack is directed against
PointDefenceAttemptOrder
public PointDefenceAttemptOrder(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()
getFiringArc
public ShipSide getFiringArc()
getPercentageAllocation
public float getPercentageAllocation()
getSourceCoordinate
public Coordinate getSourceCoordinate()
getTargetCoordinate
public Coordinate getTargetCoordinate()