D:/Development/Projects/X-Clone/X-Clone/trunk/Player.h

Go to the documentation of this file.
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

Generated on Fri Sep 22 06:00:26 2006 for X-CLONE by  doxygen 1.4.7