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.
lib/Instructions/Instructions.h@23:ecb74e52163d, 2019-05-09 (annotated)
- Committer:
- Kern_EL17KJTF
- Date:
- Thu May 09 00:25:50 2019 +0000
- Revision:
- 23:ecb74e52163d
- Parent:
- 22:d265f506446b
- Child:
- 29:be053907f5c7
Documentation - Options Class Complete.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kern_EL17KJTF | 14:d6fbbb912425 | 1 | #ifndef INSTRUCTIONS_H |
Kern_EL17KJTF | 14:d6fbbb912425 | 2 | #define INSTRUCTIONS_H |
Kern_EL17KJTF | 14:d6fbbb912425 | 3 | |
Kern_EL17KJTF | 14:d6fbbb912425 | 4 | #include "mbed.h" |
Kern_EL17KJTF | 14:d6fbbb912425 | 5 | #include "N5110.h" |
Kern_EL17KJTF | 14:d6fbbb912425 | 6 | #include "Gamepad.h" |
Kern_EL17KJTF | 14:d6fbbb912425 | 7 | |
Kern_EL17KJTF | 22:d265f506446b | 8 | /** Instructions Class |
Kern_EL17KJTF | 22:d265f506446b | 9 | *@brief This class is for the instructions menu screen. |
Kern_EL17KJTF | 22:d265f506446b | 10 | *@author Kern Fowler |
Kern_EL17KJTF | 22:d265f506446b | 11 | *@version 1.0 |
Kern_EL17KJTF | 22:d265f506446b | 12 | *@date May 2019 |
Kern_EL17KJTF | 22:d265f506446b | 13 | */ |
Kern_EL17KJTF | 14:d6fbbb912425 | 14 | |
Kern_EL17KJTF | 22:d265f506446b | 15 | class Instructions { |
Kern_EL17KJTF | 14:d6fbbb912425 | 16 | |
Kern_EL17KJTF | 22:d265f506446b | 17 | public: |
Kern_EL17KJTF | 22:d265f506446b | 18 | /** Instructions Constructor |
Kern_EL17KJTF | 23:ecb74e52163d | 19 | @brief Builds my default Instructions constructor. |
Kern_EL17KJTF | 22:d265f506446b | 20 | @details This does not have any setup. |
Kern_EL17KJTF | 22:d265f506446b | 21 | */ |
Kern_EL17KJTF | 22:d265f506446b | 22 | Instructions(); |
Kern_EL17KJTF | 22:d265f506446b | 23 | /** Instructions Destructor |
Kern_EL17KJTF | 22:d265f506446b | 24 | @brief Builds my default Instructions destructor. |
Kern_EL17KJTF | 22:d265f506446b | 25 | @details This does not have any setup. |
Kern_EL17KJTF | 22:d265f506446b | 26 | */ |
Kern_EL17KJTF | 22:d265f506446b | 27 | ~Instructions(); |
Kern_EL17KJTF | 22:d265f506446b | 28 | // Mutators |
Kern_EL17KJTF | 14:d6fbbb912425 | 29 | |
Kern_EL17KJTF | 22:d265f506446b | 30 | /** |
Kern_EL17KJTF | 22:d265f506446b | 31 | *@brief Prints the Instructions menu. |
Kern_EL17KJTF | 22:d265f506446b | 32 | *@param pad The Gamepad class is used. |
Kern_EL17KJTF | 22:d265f506446b | 33 | *@param lcd The N5110 class is used. |
Kern_EL17KJTF | 22:d265f506446b | 34 | *@details Prints various text to screen relating to how to play the game. |
Kern_EL17KJTF | 22:d265f506446b | 35 | */ |
Kern_EL17KJTF | 22:d265f506446b | 36 | void instructions_run(Gamepad &pad, N5110 &lcd); |
Kern_EL17KJTF | 14:d6fbbb912425 | 37 | }; |
Kern_EL17KJTF | 14:d6fbbb912425 | 38 | |
Kern_EL17KJTF | 22:d265f506446b | 39 | #endif |