![](/media/cache/profiles/LinkedIn_0NghoZJ.jpeg.50x50_q85.jpg)
Snake vs Block Game to be run upon K64F.
WinLoose/WinLoose.h
- Committer:
- AhmedPlaymaker
- Date:
- 2019-04-26
- Revision:
- 46:dc7dccae9f9e
- Parent:
- 44:cd10d07ea1e5
- Child:
- 49:441c32f6603e
File content as of revision 46:dc7dccae9f9e:
#ifndef WINLOOSE_H #define WINLOOSE_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class WinLoose { public: WinLoose(); ~WinLoose(); /** Level Complete * * This function prepares the game for the next level and initialises WinLoose and obtains required class addresses to use in other functions. */ int LevelComplete(N5110 &lcd, Gamepad &pad, int level); /** Game Over * * This function does the required tasks to implement a loosing screen. */ void GameOver(N5110 &lcd, Gamepad &pad); private: char bufferlevel[14]; //this helps me print the level on screen. }; #endif