00001 #ifndef XCLONE_PLAYER_H 00002 #define XCLONE_PLAYER_H 00003 00004 #include "includes.h" 00005 #include "Unit.h" 00006 00007 class Player 00008 { 00009 public: 00010 Player(int id); 00011 // std::string getName(); 00012 // void setName( string name ); 00013 int getID(); 00014 void removeUnit( spUnit unit ); 00015 void addUnit( spUnit unit ); 00016 int getUnitCount(); 00017 spUnit getNextUnit(); 00018 00019 private: 00020 int _id; 00021 // int color; 00022 // int team; 00023 // string name; 00024 vector<spUnit> _units; 00025 }; 00026 00027 #endif