Last change
on this file since 12049 was
12049,
checked in by stadlero, 6 years ago
|
Klassen jetzt hinzugefügt -Oli
|
File size:
952 bytes
|
Line | |
---|
1 | |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | #ifndef Wagnis_Province_h |
---|
7 | #define Wagnis_Province_h |
---|
8 | |
---|
9 | #include "OrxonoxPrereqs.h" |
---|
10 | #include "core/CoreIncludes.h" |
---|
11 | #include "core/XMLPort.h" |
---|
12 | #include "worldentities/StaticEntity.h" |
---|
13 | #include <vector> |
---|
14 | |
---|
15 | |
---|
16 | namespace orxonox |
---|
17 | { |
---|
18 | class WagnisProvince : public StaticEntity |
---|
19 | { |
---|
20 | public: |
---|
21 | WagnisProvince(Context*); |
---|
22 | virtual ~WagnisProvince(); |
---|
23 | void setPosition(const Vector3&) override; |
---|
24 | void setOrientation(const Quaternion&) override; |
---|
25 | void addNeighbor(WagnisProvince*); |
---|
26 | |
---|
27 | void setOwner_ID(int); |
---|
28 | void setTroops(int); |
---|
29 | void setID(int); |
---|
30 | void setContinent(int); |
---|
31 | |
---|
32 | int getOwner_ID(); |
---|
33 | int getTroops(); |
---|
34 | int getID(); |
---|
35 | int getContinent(); |
---|
36 | |
---|
37 | |
---|
38 | private: |
---|
39 | int owner_ID; |
---|
40 | int troops; |
---|
41 | int ID; |
---|
42 | int continent; |
---|
43 | std::vector<WagnisProvince*> neighbors; |
---|
44 | Vector3 position; |
---|
45 | Quaternion orientation; |
---|
46 | }; |
---|
47 | } |
---|
48 | |
---|
49 | |
---|
50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.