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 "graphics/Billboard.h" |
---|
14 | #include <vector> |
---|
15 | |
---|
16 | |
---|
17 | namespace orxonox |
---|
18 | { |
---|
19 | class _WagnisExport WagnisProvince : public Pawn |
---|
20 | { |
---|
21 | public: |
---|
22 | WagnisProvince(Context*); |
---|
23 | virtual ~WagnisProvince(); |
---|
24 | |
---|
25 | |
---|
26 | virtual void XMLPort(Element&,XMLPort::Mode); |
---|
27 | void addMarkerBillboard(Billboard*); |
---|
28 | Billboard* getMarkerBillboard(unsigned int) const; |
---|
29 | |
---|
30 | void setOwner_ID(int); |
---|
31 | void setTroops(int); |
---|
32 | void setID(int); |
---|
33 | void setContinent(int); |
---|
34 | |
---|
35 | int getOwner_ID() const; |
---|
36 | int getTroops() const; |
---|
37 | int getID() const; |
---|
38 | int getContinent() const; |
---|
39 | |
---|
40 | void addNeighbor(WagnisProvince*); |
---|
41 | void setBillbardVisibility(bool); |
---|
42 | |
---|
43 | |
---|
44 | std::vector<WagnisProvince*> neighbors; |
---|
45 | int owner_ID; |
---|
46 | int troops; |
---|
47 | int ID; |
---|
48 | int continent; |
---|
49 | |
---|
50 | Billboard* markerBillboard; |
---|
51 | }; |
---|
52 | } |
---|
53 | |
---|
54 | |
---|
55 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.