Package net.demilich.metastone.game.actions


package net.demilich.metastone.game.actions
Game actions are things players can do.

Game actions are typically emitted by the GameContext.getValidActions() method. This will determine all the available actions for the active player. Then, actions are sent to Behaviour objects in the context, which decides which action to perform using Behaviour.requestAction(net.demilich.metastone.game.GameContext, net.demilich.metastone.game.Player, java.util.List).

Cards emit an action using Card.play(). Minions do not emit actions; instead, the ActionLogic computes the physical attack actions using its internal methods.

See Also: