Class PhysicalAttackEvent
java.lang.Object
net.demilich.metastone.game.events.GameEvent
net.demilich.metastone.game.events.BasicGameEvent
net.demilich.metastone.game.events.ValueEvent
net.demilich.metastone.game.events.PhysicalAttackEvent
- All Implemented Interfaces:
Serializable,Cloneable,HasValue,Notification
- Direct Known Subclasses:
AfterPhysicalAttackEvent,BeforePhysicalAttackEvent
An attacker (the
EntityReference.EVENT_SOURCE) attacked the defender
and dealt EventValueProvider damage.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPhysicalAttackEvent(GameContext context, Actor attacker, Actor defender, int damageDealt) -
Method Summary
Methods inherited from class net.demilich.metastone.game.events.ValueEvent
getValueMethods inherited from class net.demilich.metastone.game.events.BasicGameEvent
getEventType, isClientInterestedMethods inherited from class net.demilich.metastone.game.events.GameEvent
clone, getDescription, getGameContext, getSource, getSourcePlayerId, getTarget, getTargetPlayerId, getTargets, isPowerHistory, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.demilich.metastone.game.events.Notification
getSource
-
Constructor Details
-
PhysicalAttackEvent
-
-
Method Details
-
getAttacker
-
getDamageDealt
public int getDamageDealt() -
getDefender
-