Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12136 was 12136, checked in by kunzro, 5 years ago

HUD fixed

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