Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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