summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/map.h b/src/map.h index e3d1802..071b6f2 100644 --- a/src/map.h +++ b/src/map.h
@@ -10,19 +10,19 @@ class Map {
10 Map& operator= (Map other); 10 Map& operator= (Map other);
11 friend void swap(Map& first, Map& second); 11 friend void swap(Map& first, Map& second);
12 12
13 const int* mapdata(); 13 const int* mapdata() const;
14 const char* title(); 14 const char* title() const;
15 Map* getLeftMap(); 15 const Map* getLeftMap() const;
16 Map* getRightMap(); 16 const Map* getRightMap() const;
17 void setLeftMap(Map* m); 17 void setLeftMap(const Map* m);
18 void setRightMap(Map* m); 18 void setRightMap(const Map* m);
19 private: 19 private:
20 Map(); 20 Map();
21 21
22 int* m_mapdata; 22 int* m_mapdata;
23 char* m_title; 23 char* m_title;
24 Map* m_leftMap; 24 const Map* m_leftMap = nullptr;
25 Map* m_rightMap; 25 const Map* m_rightMap = nullptr;
26}; 26};
27 27
28#endif 28#endif