Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12105 was 12077, checked in by kunzro, 6 years ago

gameboard string fixed

File size: 924 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;
[12050]35        //
[12077]36        std::string connections_string;
[12072]37        void initializeNeighbors(std::string);
38
[12049]39   
40    private:
41        std::vector<WagnisProvince*> provs;
[12077]42       
[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.