Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
32:fe6359ef9916
Child:
47:6e31b195ce3c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Title/Title.h	Mon May 06 08:56:48 2019 +0000
@@ -0,0 +1,35 @@
+#ifndef TITLE_H
+#define TITLE_H
+
+#include "Player.h"
+#include "N5110.h"
+#include "Gamepad.h"
+
+class Title
+{
+private:
+    // Member Variables
+    int title_count;
+    int cursor_timer;
+    int title_option;
+    
+    // Functions
+    void draw_title_screen(N5110 &lcd);
+    void title_options_joystick(Gamepad &gamepad);
+    
+    void title_option_option(N5110 &lcd, Gamepad &gamepad, Player &player, float &global_contrast);
+    void title_option_credit(N5110 &lcd, Gamepad &gamepad);
+    void title_option_hi_scores(N5110 &lcd);
+    
+public:
+    // Constructor
+    Title();
+    
+    // Accessor
+    int get_seed();
+    
+    // Functions
+    void main(N5110 &lcd, Gamepad &gamepad, float &global_contrast);
+};
+    
+#endif
\ No newline at end of file