Class MinionDeathTrigger
java.lang.Object
net.demilich.metastone.game.logic.CustomCloneable
net.demilich.metastone.game.spells.trigger.EventTrigger
net.demilich.metastone.game.spells.trigger.MinionDeathTrigger
- All Implemented Interfaces:
Serializable,Cloneable,HasDesc<EventTriggerDesc>
A trigger that fires whenever a minion dies.
A dead minion hosting such a trigger will never trigger for itself, because the KillEvent this trigger
listens to fires when the dead minion is already in the graveyard.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventTriggerDesccreate()Creates a minion death trigger that fires when its host dies.static EventTriggerDesccreate(TargetType targetType) protected booleaninnerQueues(GameEvent event, Enchantment enchantment, Entity host) When an event this trigger isEventTrigger.interestedIn()occurs, this test indicates whether or not the trigger should enter the queue of effects that should be evaluated.com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventTypeMethods inherited from class net.demilich.metastone.game.spells.trigger.EventTrigger
clone, fires, getDesc, hostConditionMet, queues, setDesc, toString
-
Constructor Details
-
MinionDeathTrigger
-
-
Method Details
-
create
-
create
Creates a minion death trigger that fires when its host dies.- Returns:
- A new desc
-
innerQueues
Description copied from class:EventTriggerWhen an event this trigger isEventTrigger.interestedIn()occurs, this test indicates whether or not the trigger should enter the queue of effects that should be evaluated. This is distinct from whether or not- Specified by:
innerQueuesin classEventTrigger- Returns:
-
interestedIn
public com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType interestedIn()- Specified by:
interestedInin classEventTrigger
-