Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/wagnis_HS18/src/modules/wagnis/WagnisProvince.h @ 12102

Last change on this file since 12102 was 12102, checked in by stadlero, 5 years ago

Billboard added to Province

File size: 1.0 KB
Line 
1
2
3
4
5
6#ifndef Wagnis_Province_h
7#define Wagnis_Province_h
8
9#include "WagnisPrereqs.h"
10#include "core/CoreIncludes.h"
11#include "core/XMLPort.h"
12#include "worldentities/MovableEntity.h"
13#include "graphics/Billboard.h"
14#include <vector>
15
16
17namespace orxonox
18{
19    class _WagnisExport WagnisProvince : public MovableEntity
20    {
21    public:
22        WagnisProvince(Context*);
23        virtual ~WagnisProvince();
24        virtual void XMLPort(Element&,XMLPort::Mode);
25        void addMarkerBillboard(Billboard*);
26        Billboard* getMarkerBillboard(unsigned int) const;
27
28        void setOwner_ID(int);
29        void setTroops(int);
30        void setID(int);
31        void setContinent(int);
32
33        int getOwner_ID() const;
34        int getTroops() const;
35        int getID() const;
36        int getContinent() const;
37
38        void addNeighbor(WagnisProvince*);
39
40    private:
41        int owner_ID;
42        int troops;
43        int ID;
44        int continent;
45        std::vector<WagnisProvince*> neighbors;
46        Billboard* markerBillboard;
47    };
48}
49
50
51#endif
Note: See TracBrowser for help on using the repository browser.