00001 #ifndef PLAYER_H_ 00002 #define PLAYER_H_ 00003 00004 #include <string> 00005 #include <stdexcept> 00006 00008 00013 class Player 00014 { 00015 private: 00016 char icon; 00017 char otherIcon; 00018 public: 00020 00025 explicit Player(char ic, char oic) throw(std::invalid_argument); 00026 00028 00031 char getIcon() const {return icon;} 00032 00034 00037 char getOtherIcon() const {return otherIcon;} 00038 }; 00039 00040 #endif