Game actions are typically emitted by the
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
Class Summary Class Description DiscoverActionA DiscoverAction is a card and spell tuple that corresponds to a particular card selected by the player and the spell that will take that card as an argument. EndTurnActionThis action ends the player's current turn. GameActionAn action a player can take in the game. HeroPowerActionIndicates an action that is a hero power card. OpenerActionBattlecry actions occur when
Actorentities are played from cards and have battlecries.
OpenerAsPlaySpellCardActionAllows an opener to be encapsulated as a spell card. PhysicalAttackAction PlayCardActionA play card action stores a card and an optional target. PlayChooseOneCardActionIndicates the choice of a choose one card. PlayHeroCardActionIndicates playing a hero card from the hand. PlayHeroCardChooseOneActionSince choose one hero cards are implemented as different battlecry choices, a card reference to a choose one card is not stored here. PlayMinionCardActionAn action representing the playing of a minion card. PlaySpellCardActionAn action indicating a spell is being cast. PlayWeaponCardActionAn action that corresponds to playing a weapon card from the hand.