CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
EnemyMove Struct Reference

Describes a single enemy action resolved during combat. More...

#include <enemyMove.h>

Collaboration diagram for EnemyMove:

Public Attributes

std::vector< std::unique_ptr< Effect > > effectList {}
 Ordered list of effects executed when this move is resolved.
 
CardParams effectParams
 Numeric parameters supplied to effects during resolution.
 
std::string name
 name of the move (used for logging/UI).
 
std::string description
 

Detailed Description

Describes a single enemy action resolved during combat.

EnemyMove groups an ordered list of effects with the numeric parameters used during resolution.

EnemyMove does not execute itself; it is selected by Enemy and resolved externally by the CardMatch.

Member Data Documentation

◆ description

std::string EnemyMove::description

◆ effectList

std::vector<std::unique_ptr<Effect> > EnemyMove::effectList {}

Ordered list of effects executed when this move is resolved.

◆ effectParams

CardParams EnemyMove::effectParams

Numeric parameters supplied to effects during resolution.

◆ name

std::string EnemyMove::name

name of the move (used for logging/UI).


The documentation for this struct was generated from the following file: