Class EnvironmentAftermathTriggeredList
java.lang.Object
net.demilich.metastone.game.environment.EnvironmentAftermathTriggeredList
- All Implemented Interfaces:
Serializable,Cloneable,EnvironmentValue
public final class EnvironmentAftermathTriggeredList
extends Object
implements EnvironmentValue, Serializable
Keeps tracks of which aftermaths were triggered this game.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescribes a particular triggering of an aftermath -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAftermath(int playerId, EntityReference source, SpellDesc spell, String cardId) Records a aftermath as triggered.Gets all the aftermaths triggered this gamegetCopy()
-
Constructor Details
-
EnvironmentAftermathTriggeredList
public EnvironmentAftermathTriggeredList()
-
-
Method Details
-
getCopy
- Specified by:
getCopyin interfaceEnvironmentValue
-
addAftermath
Records a aftermath as triggered. Thespellshould be immutable because it is not cloned.- Parameters:
playerId-source-spell-
-
getAftermaths
Gets all the aftermaths triggered this game- Returns:
-