Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12195 was 12164, checked in by samuelbl, 6 years ago

Checkmove function fixed

File size: 1021 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
18namespace orxonox
19{
[12107]20    class _WagnisExport WagnisProvince : public Pawn
[12049]21    {
22    public:
23        WagnisProvince(Context*);
24        virtual ~WagnisProvince();
[12107]25
26
[12051]27        virtual void XMLPort(Element&,XMLPort::Mode);
[12049]28
29        void setOwner_ID(int);
30        void setTroops(int);
31        void setID(int);
32        void setContinent(int);
[12159]33        void highlight();
34        void dehighlight();
[12049]35
[12051]36        int getOwner_ID() const;
37        int getTroops() const;
38        int getID() const;
39        int getContinent() const;
[12049]40
[12051]41        void addNeighbor(WagnisProvince*);
[12114]42
43
[12104]44        std::vector<WagnisProvince*> neighbors;
[12049]45        int ID;
46        int continent;
[12134]47
48        private:
49        int troops;
[12136]50        int owner_ID;
[12134]51
[12049]52    };
53}
54
55
56#endif
Note: See TracBrowser for help on using the repository browser.