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.
Diff: lib/GameEngine/GameEngine.h
- Revision:
- 10:28575a6eaa13
- Child:
- 11:b288d01533cc
diff -r e6832bf222b7 -r 28575a6eaa13 lib/GameEngine/GameEngine.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/GameEngine/GameEngine.h Tue May 07 22:49:13 2019 +0000 @@ -0,0 +1,36 @@ +#ifndef GAMEENGINE_H +#define GAMEENGINE_H +/* +ELEC2645 Project +GameEngine.h +Class file for GameEngine in Donkey Kong game. +*/ + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Barrel.h" +#include "Banana.h" +#include "Donkey.h" + + +class GameEngine +{ + + public: + + GameEngine(); + + ~GameEngine(); + + void gameengine_run(Gamepad &pad,N5110 &lcd,Barrel &barrel,Banana &banana,Donkey &dky); + + int barrel_x; + int barrel_y; + int barrel_speed; + int barrel_min; + int barrel_max; + float barrel_time; +}; + +#endif \ No newline at end of file