Class containing all the bitmaps for the 10 different mazes used throughout the game.

Maze.h

Committer:
el15mh
Date:
2017-04-07
Revision:
1:8ed19eb9e7e5
Parent:
0:d5a32831fa28
Child:
2:834bd321a30d

File content as of revision 1:8ed19eb9e7e5:

//
//  maze.h
//
//
//  Created by Max Houghton on 19/03/2017.
//
//

#ifndef MAZE_H
#define MAZE_H

#include "mbed.h"
#include "N5110.h"

class Maze
{
    
public:
    
    // constructor & destructor
    Maze();
    ~Maze();
    
    // initialisation method
    // desired maze is selected here
    void init(int mazeIndex);
    
    void draw(N5110 &lcd);
    
    
private:
    
    void drawBox(N5110 &lcd);
    void drawTest(N5110 &lcd);
    void drawMazeOne(N5110 &lcd);
    void drawMazeTwo(N5110 &lcd);
    
    int _mazeIndex;
    
};

#endif /* MAZE_H */