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.
Dependencies: mbed
Game/Game.h
- Committer:
- el17cd
- Date:
- 2019-03-31
- Revision:
- 16:64cd7bc094f9
- Parent:
- 15:8fbbdefbe720
- Child:
- 18:8256546a3cbf
File content as of revision 16:64cd7bc094f9:
#include <vector> #ifndef FACE_H #define FACE_H #include "Face.h" #endif #include "Rasturizer.h" #ifndef CUBE_H #define CUBE_H #include "Cube.h" #endif #include "Gamepad.h" #include "mbed.h" class Game { private: bool playing; int score; Ticker ticker; Gamepad gamepad; Rasturizer renderer; std::vector<Cube> cubeVector; std::vector<Face> faceVector; void deathScreen(); bool selection; public: Game(); void run(); };