ELEC2645 (2018/19) / Mbed 2 deprecated el17aio

Dependencies:   mbed

Lore/Lore.h

Committer:
ikenna1
Date:
2019-05-09
Revision:
51:2231e2e141b9
Parent:
47:5ae8668af63f
Child:
53:3fdc4486f672

File content as of revision 51:2231e2e141b9:

#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 address of 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 address of the N5110 library used for the lcd display
    */
    void seeker(N5110 &lcd);
    /** Prints a tip about the enemy ship, shooter, on screen
    *@param &lcd address of the N5110 library used for the lcd display
    */
    void shooter(N5110 &lcd);
    /** Prints a tip about a player ship, imperion, on screen
    *@param &lcd address of the N5110 library used for the lcd display
    */
    void imperion(N5110 &lcd);
    /** Prints a tip about a player ship, kestrel, on screen
    *@param &lcd address of the N5110 library used for the lcd display
    */
    void kestrel(N5110 &lcd);
    /** Prints a tip about a player ship, orion, on screen
    *@param &lcd address of the N5110 library used for the lcd display
    */
    void orion(N5110 &lcd);
    /** Prints a tip about the menu on screen
    *@param &lcd address of the N5110 library used for the lcd display
    */
    void menu1(N5110 &lcd);
    /** Displays game intro
    *@param &lcd address of the N5110 library used for the lcd display
    */
    void intro(N5110 &lcd);

    private:
    
};
#endif