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.
Dependencies: mbed Gamepad N5110 mbed-rtos
Diff: Instruction/Instruction.h
- Revision:
- 0:d9cf94b41df3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Instruction/Instruction.h Thu May 09 09:49:35 2019 +0000 @@ -0,0 +1,42 @@ +#ifndef INSTRUCTION_H +#define INSTRUCTION_H + +#include "Gamepad.h" +#include "N5110.h" +#include "mbed.h" + +/** Instruction Class + * @brief Instruction and Game Rules page + * @author Rex Roshan Raj + */ +class Instruction +{ + +public: + + /** Constructor */ + Instruction(); + + /** Destructor */ + ~Instruction(); + + /** Draws instruction + * @param N5110 lcd + * @param Gamepad pad + * @brief Draws all the instruction and the rules of the game + */ + void rules(N5110 &lcd,Gamepad &pad); + + /** Draws guidelines + * @param N5110 lcd + * @param Gamepad pad + * @brief Draws all the guidelines for the minigame + */ + void mini_rules(N5110 &lcd,Gamepad &pad); + + +private: + +}; + +#endif \ No newline at end of file