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