Class DamageEvent
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.AbstractDamageEvent
net.demilich.metastone.game.events.DamageEvent
- All Implemented Interfaces:
Serializable
,Cloneable
,HasValue
,Notification
ValueEvent.getValue()
damage has been dealt to the GameEvent.getTarget()
by the GameEvent.getSource()
.
AbstractDamageEvent.getDamageType()
includes the kind of damage.
- See Also:
-
Constructor Summary
ConstructorDescriptionDamageEvent
(GameContext context, Entity victim, Entity source, int damage, EnumSet<com.hiddenswitch.spellsource.rpc.Spellsource.DamageTypeMessage.DamageType> damageType) -
Method Summary
Methods inherited from class net.demilich.metastone.game.events.AbstractDamageEvent
getDamageType
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
-
DamageEvent
public DamageEvent(GameContext context, Entity victim, Entity source, int damage, EnumSet<com.hiddenswitch.spellsource.rpc.Spellsource.DamageTypeMessage.DamageType> damageType)
-