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