CardGame
Rogue-like card videogame
Loading...
Searching...
No Matches
combatTarget.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  Target { Self , Opponent }
 Logical target selector used during effect resolution. More...
 

Enumeration Type Documentation

◆ Target

enum class Target
strong

Logical target selector used during effect resolution.

Target represents an abstract combat target relative to the current action:

  • Self refers to the entity performing the action.
  • Opponent refers to the opposing entity.

Logical targets are resolved to concrete entities by CombatContext.

Enumerator
Self 
Opponent