Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

highlight and dehighlight function added for province and WagnisHUD info adjusts colour

File size: 1022 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);
[12159]34        void highlight();
35        void dehighlight();
[12049]36
[12051]37        int getOwner_ID() const;
38        int getTroops() const;
39        int getID() const;
40        int getContinent() const;
[12049]41
[12051]42        void addNeighbor(WagnisProvince*);
[12114]43
44
[12104]45        std::vector<WagnisProvince*> neighbors;
[12049]46        int ID;
47        int continent;
[12134]48
49        private:
50        int troops;
[12136]51        int owner_ID;
[12134]52
[12049]53    };
54}
55
56
57#endif
Note: See TracBrowser for help on using the repository browser.