Initial publish
Dependencies: mbed
Fork of el17dg by
tutorial/tutorial.h
- Committer:
- Noximilien
- Date:
- 2019-04-16
- Revision:
- 30:d454d0cb72bc
- Parent:
- 29:579e00b7f118
- Child:
- 31:becb8f6bf7b7
File content as of revision 30:d454d0cb72bc:
#ifndef TUTORIAL_H #define TUTORIAL_H const int right_arrow_pos_x = 66; const int left_arrow_pos_x = 5; const int arrows_pos_y = 0; const int total_pages = 11; 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*/ Tutorial(); /** @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(); void tutorialPage7(); void tutorialPage8(); void tutorialPage9(); void tutorialPage10(); }; #endif