Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

StartScreen/StartScreen.h

Committer:
AhmedPlaymaker
Date:
2019-04-05
Revision:
16:7b474f873683
Parent:
5:e4df87957a5b
Child:
30:461231877c89

File content as of revision 16:7b474f873683:

#ifndef StartScreen_H
#define StartScreen_H

#include "mbed.h"
#include "N5110.h"
#include "Gamepad.h"
#include "Settings.h"

class StartScreen
{
    public:
    
    StartScreen();
    ~StartScreen();
    
    /** Initialise StartScreen
    *
    *   This function initialises the Game Interface and restarts the display.
    */
    void screen_saver(N5110 &lcd, Gamepad &pad);
    
    /** Draw
    *
    *   This function draws the Sprite onto the screen.
    */
    void instruct(N5110 &lcd, Gamepad &pad);
    
    /** Instruct
    *
    *   This function updates the user about how to progress after the game banner has been displayed..
    */
    void info(N5110 &lcd, Gamepad &pad);
    
    /** Display userID
    *
    *   This function shows who the author of the game is before showing the menu screen.
    */
    void menu_screen1(N5110 &lcd, Gamepad &pad);
    
    /** The First Menu Screen
    *
    *   This function obtains the user input on how they want to progress.
    */
    
    void menu_screen2(N5110 &lcd, Gamepad &pad);
    
    /** The Second Menu Screen
    *
    *   This function obtains the user input on the game type they would like to play.
    */
    
    void menu_screen3(N5110 &lcd, Gamepad &pad);
    
    /** The Third Menu Screen
    *
    *   This function obtains the user input on the game speed that suits them.
    */
    
    int fps; // this sends over the game speed

    

};
#endif