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