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
Diff: Game/Game.h
- Revision:
- 20:3ca430241df0
- Parent:
- 18:8256546a3cbf
- Child:
- 21:6b5d2d75e083
--- a/Game/Game.h Mon Apr 01 14:43:18 2019 +0000 +++ b/Game/Game.h Mon Apr 01 17:11:40 2019 +0000 @@ -13,6 +13,7 @@ class Game { private: + int noOfCubes; int homeSelection; Timer timer; bool playing; @@ -20,8 +21,8 @@ Ticker ticker; Gamepad gamepad; Rasturizer renderer; - std::vector<Cube> cubeVector; - std::vector<Face> faceVector; + Cube cubeArray[10]; + Face faceArray[60]; void deathScreen(); bool deathButtonSelections(); void homeButtonSelections();