Package megamek.common.event
Class GameCFREvent
java.lang.Object
java.util.EventObject
megamek.common.event.GameEvent
megamek.common.event.GameCFREvent
- All Implemented Interfaces:
Serializable
A Client Feedback Request Event. This event is created when the server requires feedback of some form from the
Client.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSub-classed events implement this method to call their specific method on a GameListener instance that their event has been fired.intDeprecated, for removal: This API element is subject to removal in a future version.intintintgetWAAs()voidsetAmsEquipNum(int amsEquipNum) voidsetApdsDistances(List<Integer> apdsDist) voidsetDirection(int direction) voidsetEntityId(int id) voidsetTAGTargets(List<Integer> newTargets) voidsetTAGTargetTypes(List<Integer> targetTypes) voidsetTargetId(int targetId) voidsetTeleguidedMissileTargets(List<Integer> newTargetIds) voidsetTmToHitValues(List<Integer> toHitValues) voidsetWAAs(List<WeaponAttackAction> weaponAttackActions) toString()Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
GameCFREvent
Construct game event
-
-
Method Details
-
fireEvent
Sub-classed events implement this method to call their specific method on a GameListener instance that their event has been fired. -
getEventName
- Specified by:
getEventNamein classGameEvent
-
toString
-
getCFRType
-
getEntityId
public int getEntityId() -
setEntityId
public void setEntityId(int id) -
getAmsEquipNum
Deprecated, for removal: This API element is subject to removal in a future version. -
setAmsEquipNum
public void setAmsEquipNum(int amsEquipNum) -
getWAAs
-
setWAAs
-
getApdsDistances
-
setApdsDistances
-
getTargetId
public int getTargetId() -
setTargetId
public void setTargetId(int targetId) -
getTelemissileTargetIds
-
setTeleguidedMissileTargets
-
getTmToHitValues
-
setTmToHitValues
-
getTAGTargets
-
setTAGTargets
-
getTAGTargetTypes
-
setTAGTargetTypes
-
setDirection
public void setDirection(int direction) -
getDirection
public int getDirection()
-