about summary refs log tree commit diff stats
path: root/data/maps/the_owl/rooms/R2C2 Bottom.txtpb
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/the_owl/rooms/R2C2 Bottom.txtpb')
0 files changed, 0 insertions, 0 deletions
il.com> 2015-03-10 19:42:04 -0400 Const correctness!' href='/therapy/commit/src/map.h?id=0e0389752a0912614737e5c059b5cd4719ef9cf2'>0e03897 ^
6b99c7a ^
7f0e8c7 ^

cd48894 ^
6b99c7a ^
0e03897 ^

de5a458

6b99c7a ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

             
 

           


                              
           


                                              





                                   
          

          
                   
                  

                                    

  
      
#ifndef MAP_H
#define MAP_H

class Map {
  public:
    Map(const char* filename);
    Map(Map& map);
    Map(Map&& map);
    ~Map();
    Map& operator= (Map other);
    friend void swap(Map& first, Map& second);
    
    const int* mapdata() const;
    const char* title() const;
    const Map* getLeftMap() const;
    const Map* getRightMap() const;
    void setLeftMap(const Map* m);
    void setRightMap(const Map* m);
  private:
    Map();
    
    int* m_mapdata;
    char* m_title;
    const Map* m_leftMap = nullptr;
    const Map* m_rightMap = nullptr;
};

#endif