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
Lore/Lore.h
- Committer:
- ikenna1
- Date:
- 2019-05-09
- Revision:
- 45:fe5fc85a5c73
- Parent:
- 41:e1fa36c0492e
- Child:
- 47:5ae8668af63f
File content as of revision 45:fe5fc85a5c73:
#ifndef LORE_H #define LORE_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" /** Lore Class @brief Library for displaying tips about the game after every round @author Ozoemena Adrian Ikenna @date 8th May 2019 */ class Lore { public: /** constructor */ Lore(); /** destructor */ ~Lore(); /** Displays a random tip about the game *@param &lcd: pointer to the N5110 library used for the lcd display *@param rand: random number generated in main function and scaled for use in class */ void display(N5110 &lcd, int rand); /** Prints a tip about the enemy ship, seeker, on screen *@param &lcd: pointer to the N5110 library used for the lcd display */ void seeker(N5110 &lcd); /** Prints a tip about the enemy ship, shooter, on screen *@param &lcd: pointer to the N5110 library used for the lcd display */ void shooter(N5110 &lcd); /** Prints a tip about a player ship, imperion, on screen *@param &lcd: pointer to the N5110 library used for the lcd display */ void imperion(N5110 &lcd); /** Prints a tip about a player ship, kestrel, on screen *@param &lcd: pointer to the N5110 library used for the lcd display */ void kestrel(N5110 &lcd); /** Prints a tip about a player ship, orion, on screen *@param &lcd: pointer to the N5110 library used for the lcd display */ void orion(N5110 &lcd); /** Prints a tip about the menu on screen *@param &lcd: pointer to the N5110 library used for the lcd display */ void menu1(N5110 &lcd); /** Displays game intro *@param &lcd: pointer to the N5110 library used for the lcd display */ void intro(N5110 &lcd); private: }; #endif