Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

HUD fixed

File size: 968 bytes
RevLine 
[12049]1
2
3
4
5
6#ifndef Wagnis_Province_h
7#define Wagnis_Province_h
8
[12067]9#include "WagnisPrereqs.h"
[12049]10#include "core/CoreIncludes.h"
11#include "core/XMLPort.h"
[12107]12#include "worldentities/pawns/Pawn.h"
[12134]13#include "tools/OgreBulletUtils.h"
[12049]14#include <vector>
[12134]15#include <OgreColourValue.h>
16#include "tools/ToolsPrereqs.h"
[12049]17
18
19namespace orxonox
20{
[12107]21    class _WagnisExport WagnisProvince : public Pawn
[12049]22    {
23    public:
24        WagnisProvince(Context*);
25        virtual ~WagnisProvince();
[12107]26
27
[12051]28        virtual void XMLPort(Element&,XMLPort::Mode);
[12049]29
30        void setOwner_ID(int);
31        void setTroops(int);
32        void setID(int);
33        void setContinent(int);
34
[12051]35        int getOwner_ID() const;
36        int getTroops() const;
37        int getID() const;
38        int getContinent() const;
[12049]39
[12051]40        void addNeighbor(WagnisProvince*);
[12114]41
42
[12104]43        std::vector<WagnisProvince*> neighbors;
[12049]44        int ID;
45        int continent;
[12134]46
47        private:
48        int troops;
[12136]49        int owner_ID;
[12134]50
[12049]51    };
52}
53
54
55#endif
Note: See TracBrowser for help on using the repository browser.