rl.centurion.game
Class FireAttemptRecord

java.lang.Object
  extended by rl.centurion.game.FireAttemptRecord
All Implemented Interfaces:
java.io.Serializable

public class FireAttemptRecord
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
FireAttemptRecord(java.lang.String sourceElement, java.lang.String targetElement)
           
 
Method Summary
 java.lang.String getAmmoType()
           
 int getBaseToHit()
           
 boolean getDamageApplied()
           
 int getDamageModifier()
           
 int getDieRoll()
           
 int getHullDownModifier()
           
 int getRange()
           
 int getShieldModifier()
           
 int getSmokeModifier()
           
 java.lang.String getSourceElement()
           
 java.lang.String getTargetElement()
           
 int getTerrainModifier()
           
 int getToHitNumber()
           
 Vehicle.Side getVehicleLocationAttacked()
           
 Vehicle.Side getVehicleSideAttacked()
           
 int getVehicleSideDieRoll()
           
 int getWeaponDamageLocation()
           
 int getWeaponIndex()
           
 java.lang.String getWeaponName()
           
 boolean isCombatProhibited()
           
 boolean isSuccessful()
           
 void setAmmoType(java.lang.String ammoType)
           
 void setBaseToHit(int baseToHit)
           
 void setCombatProhibited(boolean prohibited)
           
 void setDamageApplied(boolean applied)
           
 void setDamageModifier(int damageModifier)
           
 void setDestroyedByPointDefence()
           
 void setDieRoll(int dieRoll)
           
 void setHullDownModifier(int hullDownModifier)
           
 void setInfantryCasualtiesCaused(int dieRoll, int casualties)
           
 void setRange(int range)
           
 void setShieldModifier(int shieldModifier)
           
 void setSmokeModifier(int smokeModifier)
           
 void setTerrainModifier(int terrainModifier)
           
 void setVehicleLocationAttacked(Vehicle.Side side)
           
 void setVehicleSideAttacked(Vehicle.Side side)
           
 void setVehicleSideDieRoll(int dieRoll)
           
 void setWeaponDamageLocation(int location)
           
 void setWeaponIndex(int weaponIndex)
           
 void setWeaponName(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FireAttemptRecord

public FireAttemptRecord(java.lang.String sourceElement,
                         java.lang.String targetElement)
Method Detail

getSourceElement

public java.lang.String getSourceElement()

getTargetElement

public java.lang.String getTargetElement()

getRange

public int getRange()

setRange

public void setRange(int range)

getAmmoType

public java.lang.String getAmmoType()

setAmmoType

public void setAmmoType(java.lang.String ammoType)

getBaseToHit

public int getBaseToHit()

setBaseToHit

public void setBaseToHit(int baseToHit)

getDamageModifier

public int getDamageModifier()

setDamageModifier

public void setDamageModifier(int damageModifier)

getVehicleSideDieRoll

public int getVehicleSideDieRoll()

getDieRoll

public int getDieRoll()

setVehicleSideDieRoll

public void setVehicleSideDieRoll(int dieRoll)

getVehicleSideAttacked

public Vehicle.Side getVehicleSideAttacked()

setVehicleSideAttacked

public void setVehicleSideAttacked(Vehicle.Side side)

getVehicleLocationAttacked

public Vehicle.Side getVehicleLocationAttacked()

setVehicleLocationAttacked

public void setVehicleLocationAttacked(Vehicle.Side side)

setDieRoll

public void setDieRoll(int dieRoll)

getHullDownModifier

public int getHullDownModifier()

setHullDownModifier

public void setHullDownModifier(int hullDownModifier)

getShieldModifier

public int getShieldModifier()

setShieldModifier

public void setShieldModifier(int shieldModifier)

getSmokeModifier

public int getSmokeModifier()

setSmokeModifier

public void setSmokeModifier(int smokeModifier)

isSuccessful

public boolean isSuccessful()

isCombatProhibited

public boolean isCombatProhibited()

setCombatProhibited

public void setCombatProhibited(boolean prohibited)

getTerrainModifier

public int getTerrainModifier()

setTerrainModifier

public void setTerrainModifier(int terrainModifier)

getWeaponIndex

public int getWeaponIndex()

setWeaponIndex

public void setWeaponIndex(int weaponIndex)

getWeaponName

public java.lang.String getWeaponName()

setWeaponName

public void setWeaponName(java.lang.String name)

getDamageApplied

public boolean getDamageApplied()

setDamageApplied

public void setDamageApplied(boolean applied)

getWeaponDamageLocation

public int getWeaponDamageLocation()

setWeaponDamageLocation

public void setWeaponDamageLocation(int location)

setDestroyedByPointDefence

public void setDestroyedByPointDefence()

setInfantryCasualtiesCaused

public void setInfantryCasualtiesCaused(int dieRoll,
                                        int casualties)

getToHitNumber

public int getToHitNumber()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object