Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/wagnis_HS18/src/modules/wagnis/WagnisGameboard.h @ 12051

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
Line 
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
20namespace orxonox
21{
22    class WagnisGameboard : public StaticEntity
23    {
24    public:
25        WagnisGameboard(Context*);
26        virtual ~WagnisGameboard();
27
28        //XML
29        virtual void XMLPort(Element&,XMLPort::Mode);
30        void addProvince(WagnisProvince*);
31        WagnisProvince* getProvince(unsigned int) const;
32        //
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.