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
getValue
Methods inherited from class net.demilich.metastone.game.events.BasicGameEvent
getEventType, isClientInterested
Methods inherited from class net.demilich.metastone.game.events.GameEvent
clone, getDescription, getGameContext, getSource, getSourcePlayerId, getTarget, getTargetPlayerId, getTargets, isPowerHistory, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.demilich.metastone.game.events.Notification
getSource
-
Constructor Details
-
PhysicalAttackEvent
-
-
Method Details
-
getAttacker
-
getDamageDealt
public int getDamageDealt() -
getDefender
-