Class GameStateChangedTrigger
java.lang.Object
net.demilich.metastone.game.logic.CustomCloneable
net.demilich.metastone.game.spells.trigger.EventTrigger
net.demilich.metastone.game.spells.trigger.GameStateChangedTrigger
- All Implemented Interfaces:
Serializable
,Cloneable
,HasDesc<EventTriggerDesc>
Fires for all events.
Use sparingly.
Field | Value |
EntityReference.EVENT_SOURCE |
The source of the event, or null if there is none |
EntityReference.EVENT_TARGET |
The target of the event, or null if there is none |
EventTriggerArg.TARGET_PLAYER |
The target player of the event, typically the owner of the target , or -1 if there was no target or
target player (atypical) |
EventTriggerArg.SOURCE_PLAYER |
The source player of the event, typically the owner of the source , or -1 if there was no source
or source player (pretty typical) |
EventValueProvider |
The value of the event, or 0 if there is none. |
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
innerQueues
(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.GameEventType
Methods inherited from class net.demilich.metastone.game.spells.trigger.EventTrigger
clone, fires, getDesc, hostConditionMet, queues, setDesc, toString
-
Constructor Details
-
GameStateChangedTrigger
-
-
Method Details
-
innerQueues
Description copied from class:EventTrigger
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. This is distinct from whether or not- Specified by:
innerQueues
in classEventTrigger
- Returns:
-
interestedIn
public com.hiddenswitch.spellsource.rpc.Spellsource.GameEventTypeMessage.GameEventType interestedIn()- Specified by:
interestedIn
in classEventTrigger
-