ELEC2645 (2018/19) / Mbed 2 deprecated el17lw

Dependencies:   mbed

Menu/Menu.h

Committer:
lewisgw
Date:
2019-03-24
Revision:
9:fff2009f826e
Child:
11:b66170249a26

File content as of revision 9:fff2009f826e:

/** Menu Class
* @brief Controls the overal state of the game using a menu * @author Lewis Wooltorton
* @date March 2019
*/

#ifndef MENU_H
#define MENU_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Engine.h"

class Menu {
 public:
  Menu();
  ~Menu();

  void init();
  void run_game_engine(N5110 &lcd, Gamepad &gamepad);
  
 private:
   Engine _game_engine;
   int _game_counter;
   
};
#endif