ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Revision:
29:579e00b7f118
Parent:
28:35af3843de8f
Child:
30:d454d0cb72bc
--- a/tutorial/tutorial.h	Wed Apr 10 15:42:10 2019 +0000
+++ b/tutorial/tutorial.h	Mon Apr 15 12:59:51 2019 +0000
@@ -4,18 +4,33 @@
 const int right_arrow_pos_x = 66;
 const int left_arrow_pos_x = 5;
 const int arrows_pos_y = 0;
+const int total_pages = 7;
+const float time_delay = 100;
 
+/**Tutorial Class
+  * @brief A library for describing the Tutorial.
+  * @author Dmitrijs Griskovs
+  * @date 15/04/2019
+*/
 class Tutorial{
     public:
-    /** A constructor for the Tutorial's page number*/
+/** A constructor for the Tutorial's page number*/
     Tutorial();
-  /** Updates and draws a text that explains the game rules and gameplay
+/** @brief Updates and draws a text that explains the game rules and gameplay
     */
     bool updateAndWriteTutorial();
     
     private:
     int current_page;
+    void drawArrowsAndExitButton();
+    void turnPages();
+    void tutorialPage0();
+    void tutorialPage1();
+    void tutorialPage2();
+    void tutorialPage3();
+    void tutorialPage4();
+    void tutorialPage5();
+    void tutorialPage6();
+    
 };
-
-
 #endif
\ No newline at end of file