diff --git a/player.h b/player.h index eb373d1..1d62475 100644 --- a/player.h +++ b/player.h @@ -12,6 +12,8 @@ class Player; #include "card.h" typedef std::map> CONTINENT_DATA; +// We store the player number as a uint8_t. This does give us a maximum player count of 256. Should be plenty. +typedef char PLAYER_NUMBER; class Player{ public: @@ -35,11 +37,11 @@ class Player{ void removeTerritory(Territory* t); private: - char player_num; + PLAYER_NUMBER player_num; char num_territories = 0; std::list territories; std::list cards; std::map continents; }; -#endif \ No newline at end of file +#endif