Snake vs Block Game to be run upon K64F.

Dependencies:   mbed

MenuClasses/Tutorial/Tutorial.h

Committer:
AhmedPlaymaker
Date:
2019-05-05
Revision:
78:10e5cc013806
Parent:
60:d3a9e0e4a0de
Child:
80:51ca38c5dcdf

File content as of revision 78:10e5cc013806:

#ifndef TUTORIAL_H
#define TUTORIAL_H

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

class Tutorial
{
    public:
    
    Tutorial();
    ~Tutorial();
    
    /** Implement Tutorial
    *
    *   This function is used to configure Tutorial.
    */
    void Implement(N5110 &lcd, Gamepad &pad);
    
    /** game Pad
    *
    *   This function introduces the gamepad to the user.
    */
    void gamePad(N5110 &lcd, Gamepad &pad);
    
    /** settings
    *
    *   This function shows how to control parameters in settings.
    */
    void settings(N5110 &lcd, Gamepad &pad);
    
    /** Controls To Navigate In Menu
    *
    *   This function shows how to scroll through menu.
    */
    void controlsToNavigateInMenu(N5110 &lcd, Gamepad &pad);
    
    /** Controls To Navigate through Game Mode and Game Speed.
    *
    *   This function shows how to scroll through menu.
    */
    void controlsToNavigateGameModeSpeed(N5110 &lcd, Gamepad &pad);
    
    /** Controls To Play Game.
    *
    *   This function shows how to move the snake in the game.
    */
    void controlsToPlayGame(N5110 &lcd, Gamepad &pad);
    
    /** ControlsvForvPreviousvOr Next.
    *
    *   This function shows how to start/end the game and also go to the next/previous menu.
    */
    void controlsForPreviousOrNext(N5110 &lcd, Gamepad &pad);
};
#endif