Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12162 was 12124, checked in by stadlero, 6 years ago

Wagnis class wip

File size: 931 bytes
RevLine 
[12049]1
2
3
4
5
6
7
8#ifndef Wagnis_Gameboard_h
9#define Wagnis_Gameboard_h
10
[12124]11#include "WagnisPrereqs.h"
[12049]12#include "WagnisProvince.h"
13
14#include "OrxonoxPrereqs.h"
15#include "core/CoreIncludes.h"
16#include "core/XMLPort.h"
17#include "worldentities/StaticEntity.h"
[12072]18#include <string>
[12049]19#include <vector>
20
21
22namespace orxonox
23{
24    class WagnisGameboard : public StaticEntity
25    {
26    public:
27        WagnisGameboard(Context*);
28        virtual ~WagnisGameboard();
[12050]29
30        //XML
[12049]31        virtual void XMLPort(Element&,XMLPort::Mode);
[12050]32        void addProvince(WagnisProvince*);
33        WagnisProvince* getProvince(unsigned int) const;
[12072]34        void setConnections_string(const std::string&);
35        std::string getConnections_string() const;
[12119]36        //XML end
37       
[12124]38        void initializeNeighbors();
[12072]39
[12114]40
[12124]41
[12119]42        std::string connections_string;
[12049]43        std::vector<WagnisProvince*> provs;
[12072]44        int parse_int(std::string,unsigned int);
[12049]45    };
46}
47
48
49#endif
Note: See TracBrowser for help on using the repository browser.