Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12119 was 12119, checked in by stadlero, 5 years ago

Wagnis class does now compile

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