Class EnvironmentEntityList

java.lang.Object
net.demilich.metastone.game.spells.custom.EnvironmentEntityList
All Implemented Interfaces:
Serializable, Cloneable, EnvironmentValue

public final class EnvironmentEntityList extends Object implements EnvironmentValue, Serializable
Stores a list of entities in the environment, instead of on an attribute on an entity.

This class behaves like a multimap of source entity keys and EntityReference values. Use getList(GameContext) to retrieve the general entity list, or use getList(GameContext, Environment) for an entity list named by a particular environment variable.

Use getCards(GameContext, Entity) to get a list of cards associated with a specific source entity.

See Also: