Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Province is now a pawn

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/pawns/Pawn.h"
13#include "graphics/Billboard.h"
14#include <vector>
15
16
17namespace orxonox
18{
19    class _WagnisExport WagnisProvince : public Pawn
20    {
21    public:
22        WagnisProvince(Context*);
23        virtual ~WagnisProvince();
24        void tick(float);
25
26
27        virtual void XMLPort(Element&,XMLPort::Mode);
28        void addMarkerBillboard(Billboard*);
29        Billboard* getMarkerBillboard(unsigned int) const;
30
31        void setOwner_ID(int);
32        void setTroops(int);
33        void setID(int);
34        void setContinent(int);
35
36        int getOwner_ID() const;
37        int getTroops() const;
38        int getID() const;
39        int getContinent() const;
40
41        void addNeighbor(WagnisProvince*);
42        std::vector<WagnisProvince*> neighbors;
43
44 
45        int owner_ID;
46        int troops;
47        int ID;
48        int continent;
49       
50        Billboard* markerBillboard;
51    };
52}
53
54
55#endif
Note: See TracBrowser for help on using the repository browser.