Class LambdaSpellDesc
java.lang.Object
java.util.AbstractMap<K,V>
java.util.EnumMap<K,V>
net.demilich.metastone.game.cards.BaseMap<T,Object>
net.demilich.metastone.game.cards.desc.Desc<SpellArg,Spell>
net.demilich.metastone.game.spells.desc.SpellDesc
net.demilich.metastone.game.spells.desc.LambdaSpellDesc
- All Implemented Interfaces:
Serializable,Cloneable,Map<SpellArg,,Object> HasDesc<Desc<SpellArg,,Spell>> HasEntrySet<SpellArg,,Object> AbstractEnchantmentDesc<Aftermath>
Represents a
SpellDesc created from a LambdaSpellDesc.LambdaSpell lambda function.
Be careful with variables brought in from outside the lambda. They will not be cloned when the GameContext is
cloned.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSignature of a spell'sSpell.cast(GameContext, Player, SpellDesc, Entity, List)method.static classNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> Nested classes/interfaces inherited from interface net.demilich.metastone.game.cards.desc.HasEntrySet
HasEntrySet.BfsEnum, HasEntrySet.BfsNode<T extends Enum,V> -
Constructor Summary
ConstructorsConstructorDescriptionLambdaSpellDesc(LambdaSpellDesc.AbstractLambdaSpell lambdaSpell) Creates an instance of this class with the specified lambda. -
Method Summary
Methods inherited from class net.demilich.metastone.game.spells.desc.SpellDesc
addArg, equals, getAttribute, getCardFilter, getCards, getCardSource, getClassArg, getDescImplClass, getEntityFilter, getFilteredCards, getInt, getSecondaryTarget, getSpell, getTarget, getTargetPlayer, hashCode, hasPredefinedTarget, join, removeArg, setTarget, spellStream, spellStream, spellStream, spellStream, subSpells, subSpells, toString, tryCreateMethods inherited from class net.demilich.metastone.game.cards.desc.Desc
copyTo, getBool, getDesc, getDescClass, getInt, getString, getValue, put, setDescMethods inherited from class java.util.EnumMap
clear, containsKey, containsValue, entrySet, get, keySet, putAll, remove, size, valuesMethods inherited from class java.util.AbstractMap
isEmptyMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.demilich.metastone.game.cards.desc.HasEntrySet
bfs, entrySetMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
LambdaSpellDesc
Creates an instance of this class with the specified lambda.- Parameters:
lambdaSpell-
-
-
Method Details