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
Fork of el17dg by
Diff: menu/menu.cpp
- Revision:
- 31:becb8f6bf7b7
- Parent:
- 30:d454d0cb72bc
- Child:
- 32:5403bb974294
--- a/menu/menu.cpp Tue Apr 16 21:16:33 2019 +0000
+++ b/menu/menu.cpp Tue Apr 23 18:18:57 2019 +0000
@@ -6,11 +6,13 @@
#include "models.h"
#include "gameobject.h"
+
const int total_options = 3;
const float time_delay = 100;
Hud highScore;
GameObject cursor;
+//Stars menuStars;
Menu::Menu() { // NOTE to self: The constructor for declerering intial states of variables.
current_option = 0; // As soon as Menu menu; happens in main, the zero is addressed to the variable.
@@ -34,6 +36,9 @@
drawPointer(); // Drawing pointer only ones.
highScore.drawHighScore();
+ //stars.starsSpawnDelay();
+ //stars.updateAndDrawSmallStars();
+ //stars.updateAndDrawMediumStars();
lcd.printString("Start Game",1,2);
lcd.printString("Tutorial",1,3);
