source:
code/branches/wagnis_HS18/src/modules/wagnis/WagnisProvince.h
@
12132
Last change on this file since 12132 was 12114, checked in by stadlero, 6 years ago | |
---|---|
File size: 1.1 KB |
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" | |
[12107] | 12 | #include "worldentities/pawns/Pawn.h" |
[12102] | 13 | #include "graphics/Billboard.h" |
[12049] | 14 | #include <vector> |
15 | ||
16 | ||
17 | namespace orxonox | |
18 | { | |
[12107] | 19 | class _WagnisExport WagnisProvince : public Pawn |
[12049] | 20 | { |
21 | public: | |
22 | WagnisProvince(Context*); | |
23 | virtual ~WagnisProvince(); | |
[12107] | 24 | |
25 | ||
[12051] | 26 | virtual void XMLPort(Element&,XMLPort::Mode); |
[12102] | 27 | void addMarkerBillboard(Billboard*); |
28 | Billboard* getMarkerBillboard(unsigned int) const; | |
[12049] | 29 | |
30 | void setOwner_ID(int); | |
31 | void setTroops(int); | |
32 | void setID(int); | |
33 | void setContinent(int); | |
34 | ||
[12051] | 35 | int getOwner_ID() const; |
36 | int getTroops() const; | |
37 | int getID() const; | |
38 | int getContinent() const; | |
[12049] | 39 | |
[12051] | 40 | void addNeighbor(WagnisProvince*); |
[12114] | 41 | void setBillbardVisibility(bool); |
42 | ||
43 | ||
[12104] | 44 | std::vector<WagnisProvince*> neighbors; |
[12049] | 45 | int owner_ID; |
46 | int troops; | |
47 | int ID; | |
48 | int continent; | |
[12104] | 49 | |
[12102] | 50 | Billboard* markerBillboard; |
[12049] | 51 | }; |
52 | } | |
53 | ||
54 | ||
55 | #endif |
Note: See TracBrowser
for help on using the repository browser.