Study Dungeon  1.0.0
A group project for COSC345
Macros | Enumerations | Variables
card_types.h File Reference

Defines the cards types for the card duel. More...

#include <map>

Go to the source code of this file.

Enumerations

enum  Type { damage , heal , swapHand }
 All possible effects that a playing card could have.
 

Variables

const std::map< enum Type, float > cardPossibilities {{damage, 0.8}, {heal, 0.2}, {swapHand, 0.1}}
 Mapping of probabilities to card types.
 

Detailed Description

Defines the cards types for the card duel.

Author
Green Alligators
Version
1.0.0
Date
2024-08-27