CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
limitCardToPlayEffect.h
Go to the documentation of this file.
1#ifndef LIMITCARDTOPLAYEFFECT_H
2#define LIMITCARDTOPLAYEFFECT_H
3
4#include "effect.h"
5
7{
8 public:
13
21 void resolve(CombatContext& combatContext, const CardParams& values) override;
22
23 private:
24};
25
26#endif // LIMITCARDTOPLAYEFFECT_H
Execution context for resolving combat effects.
Definition: combatContext.h:30
Abstract base class for all card effects.
Definition: effect.h:19
Definition: limitCardToPlayEffect.h:7
void resolve(CombatContext &combatContext, const CardParams &values) override
Impose a limit on the number of cards the player can play this turn, using CardParams::limitCards.
Definition: limitCardToPlayEffect.cpp:7
LimitCardToPlayEffect()=default
Constructs the effect with a fixed logical target.
Numeric parameters used to resolve gameplay effects.
Definition: cardParams.h:16