| Line |   | 
|---|
| 1 |  | 
|---|
| 2 |  | 
|---|
| 3 |  | 
|---|
| 4 |  | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef Wagnis_Province_h | 
|---|
| 7 | #define Wagnis_Province_h | 
|---|
| 8 |  | 
|---|
| 9 | #include "WagnisPrereqs.h" | 
|---|
| 10 | #include "core/CoreIncludes.h" | 
|---|
| 11 | #include "core/XMLPort.h" | 
|---|
| 12 | #include "worldentities/pawns/Pawn.h" | 
|---|
| 13 | #include "tools/OgreBulletUtils.h" | 
|---|
| 14 | #include <vector> | 
|---|
| 15 | #include <OgreColourValue.h> | 
|---|
| 16 | #include "tools/ToolsPrereqs.h" | 
|---|
| 17 |  | 
|---|
| 18 | namespace orxonox | 
|---|
| 19 | { | 
|---|
| 20 |     class _WagnisExport WagnisProvince : public Pawn | 
|---|
| 21 |     { | 
|---|
| 22 |     public: | 
|---|
| 23 |         WagnisProvince(Context*); | 
|---|
| 24 |         virtual ~WagnisProvince(); | 
|---|
| 25 |  | 
|---|
| 26 |  | 
|---|
| 27 |         virtual void XMLPort(Element&,XMLPort::Mode); | 
|---|
| 28 |  | 
|---|
| 29 |         void setOwner_ID(int); | 
|---|
| 30 |         void setTroops(int); | 
|---|
| 31 |         void setID(int); | 
|---|
| 32 |         void setContinent(int); | 
|---|
| 33 |         void highlight(); | 
|---|
| 34 |         void dehighlight(); | 
|---|
| 35 |  | 
|---|
| 36 |         int getOwner_ID() const; | 
|---|
| 37 |         int getTroops() const; | 
|---|
| 38 |         int getID() const; | 
|---|
| 39 |         int getContinent() const; | 
|---|
| 40 |  | 
|---|
| 41 |         void addNeighbor(WagnisProvince*); | 
|---|
| 42 |  | 
|---|
| 43 |  | 
|---|
| 44 |         std::vector<WagnisProvince*> neighbors; | 
|---|
| 45 |         int ID; | 
|---|
| 46 |         int continent; | 
|---|
| 47 |  | 
|---|
| 48 |         private: | 
|---|
| 49 |         int troops; | 
|---|
| 50 |         int owner_ID; | 
|---|
| 51 |  | 
|---|
| 52 |     }; | 
|---|
| 53 | } | 
|---|
| 54 |  | 
|---|
| 55 |  | 
|---|
| 56 | #endif | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.