Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12050 was 12050, checked in by stadlero, 6 years ago

Eine XMLPort Funktion in der Gameboard-Klasse hinzugefügt

File size: 821 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        void setPosition(const Vector3&) override;
35        void setOrientation(const Quaternion&) override;
36
37   
38    private:
39        std::vector<WagnisProvince*> provs;
40        Vector3 position;
41        Quaternion orientation;
42    };
43}
44
45
46#endif
Note: See TracBrowser for help on using the repository browser.