ELEC2645 (2018/19) / Mbed 2 deprecated el17dtt

Dependencies:   mbed

Revision:
6:4c55dd4b6d42
Parent:
4:2deeeeb6c1e1
Child:
7:9e9424f5ec4b
--- a/Menu/menu.h	Tue Apr 16 20:15:09 2019 +0000
+++ b/Menu/menu.h	Fri May 03 19:17:56 2019 +0000
@@ -1,6 +1,8 @@
-//#ifndef MENU_H
-//#define MENU_H
+#ifndef MENU_H
+#define MENU_H
+
 #include <string>
+#include "Gamepad.h"
 
 // star struct needed for the falling number screen flush
 struct symbol
@@ -14,7 +16,7 @@
     // public part of the class definition
     public:
     // intro for the welcome function
-    void intro(N5110 &lcd);
+    void intro(N5110 &lcd, Gamepad &pad);
     
     // run a short story mode 
     void story(N5110 &lcd);
@@ -36,8 +38,7 @@
     
     int number_of_sprites;
     static int logo0[];
-    static int logo1[]; 
         
 };
 
-//#endif
\ No newline at end of file
+#endif
\ No newline at end of file