Ahmed Hedait / Mbed 2 deprecated el16ah

Dependencies:   mbed

MazeEngine/MazeEngine.cpp

Committer:
ahmedhedait
Date:
2018-05-08
Revision:
19:c6ebd1394bda
Parent:
17:68d4b4095d80
Child:
20:041affa5e242

File content as of revision 19:c6ebd1394bda:

#include "MazeEngine.h"
// nothing doing in the constructor and destructor
MazeEngine::MazeEngine()
{

}

MazeEngine::~MazeEngine()
{

}

void MazeEngine::init()
{

}

void MazeEngine::read_input(Gamepad &pad)
{
    _d = pad.get_direction();
}

void MazeEngine::draw(N5110 &lcd)
{
    // draw the elements in the LCD buffer
    // maze
    _maze.draw(lcd);
}