// // player.h // cards-proof // // Created by Ethan Miller on 4/6/12. // #ifndef cards_proof_player_h #define cards_proof_player_h #include #include #include "zone.h" class player { public: player(); player(std::string name); player(std::string name, int starting_life); int & life() { return life_; } private: std::string name_; int life_; zone deck_; std::map m_zones_; // Map was chosen for flexibility void setup(); static std::map default_zones; static bool default_zones_are_set; static void set_defaults(); }; #endif