summary refs log tree commit diff stats
path: root/src/map.h
blob: d7b4ecf7f223d930f21fad91b08f4f6f059d8149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MAP_H
#define MAP_H

class Map {
  public:
    Map();
    Map(char* filename);
    ~Map();
    const int* mapdata();
    const char* title();
    Map* getLeftMap();
    Map* getRightMap();
    void setLeftMap(Map* m);
    void setRightMap(Map* m);
  private:
    int* m_mapdata;
    char* m_title;
    Map* m_leftMap = 0;
    Map* m_rightMap = 0;
};

#endif