CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
hostageCardEffect.h
Go to the documentation of this file.
1#ifndef HOSTAGECARDEFFECT_H
2#define HOSTAGECARDEFFECT_H
3
4#include "effect.h"
5
16{
17 public:
21 HostageCardEffect() = default;
22
29 void resolve(CombatContext& combatContext, const CardParams& values) override;
30
31 private:
32};
33
34#endif // HOSTAGECARDEFFECT_H
Execution context for resolving combat effects.
Definition: combatContext.h:30
Abstract base class for all card effects.
Definition: effect.h:19
Effect that grants additional actions for the current turn.
Definition: hostageCardEffect.h:16
void resolve(CombatContext &combatContext, const CardParams &values) override
Grants actions using CardParams::actions.
Definition: hostageCardEffect.cpp:7
HostageCardEffect()=default
Constructs a gain-actions effect.
Numeric parameters used to resolve gameplay effects.
Definition: cardParams.h:16