Study Dungeon  1.0.0
A group project for COSC345
card_types.h
Go to the documentation of this file.
1 
11 #pragma once
12 #ifndef CARD_TYPES_H
13 #define CARD_TYPES_H
14 
15 #include <map>
16 
21 enum Type
22 {
23  damage,
24  heal,
25  swapHand
26 };
27 
32 const std::map<enum Type, float> cardPossibilities{{damage, 0.8}, {heal, 0.2}, {swapHand, 0.1}};
33 #endif
Type
All possible effects that a playing card could have.
Definition: card_types.h:22
const std::map< enum Type, float > cardPossibilities
Mapping of probabilities to card types.
Definition: card_types.h:32