Last change
on this file since 12051 was
12051,
checked in by stadlero, 6 years ago
|
XML Funkion von Province-Klasse hinzugefuegt
|
File size:
654 bytes
|
Rev | Line | |
---|
[12049] | 1 | |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | #ifndef Wagnis_Gameboard_h |
---|
| 9 | #define Wagnis_Gameboard_h |
---|
| 10 | |
---|
| 11 | #include "WagnisProvince.h" |
---|
| 12 | |
---|
| 13 | #include "OrxonoxPrereqs.h" |
---|
| 14 | #include "core/CoreIncludes.h" |
---|
| 15 | #include "core/XMLPort.h" |
---|
| 16 | #include "worldentities/StaticEntity.h" |
---|
| 17 | #include <vector> |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | namespace orxonox |
---|
| 21 | { |
---|
| 22 | class WagnisGameboard : public StaticEntity |
---|
| 23 | { |
---|
| 24 | public: |
---|
| 25 | WagnisGameboard(Context*); |
---|
| 26 | virtual ~WagnisGameboard(); |
---|
[12050] | 27 | |
---|
| 28 | //XML |
---|
[12049] | 29 | virtual void XMLPort(Element&,XMLPort::Mode); |
---|
[12050] | 30 | void addProvince(WagnisProvince*); |
---|
| 31 | WagnisProvince* getProvince(unsigned int) const; |
---|
| 32 | // |
---|
[12049] | 33 | |
---|
| 34 | |
---|
| 35 | private: |
---|
| 36 | std::vector<WagnisProvince*> provs; |
---|
| 37 | }; |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.