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: GameEngine/GameEngine.h
- Revision:
- 51:35cb8e604b72
- Parent:
- 49:ed569eceeaa4
- Child:
- 55:c04568b25617
diff -r 13c8710985f4 -r 35cb8e604b72 GameEngine/GameEngine.h
--- a/GameEngine/GameEngine.h Tue May 19 16:05:18 2020 +0000
+++ b/GameEngine/GameEngine.h Tue May 19 16:46:40 2020 +0000
@@ -15,7 +15,6 @@
#include "Menu.h"
#include "FXOS8700CQ.h"
#include "SDFileSystem.h"
-#include <cmath>
#include <vector>
@@ -167,8 +166,8 @@
/** Counter for spawning aliens*/
int spawn_alien_counter_;
- /** Counter for numeber of aliens*/
- int alien_number_counter_;
+ /** Numeber of aliens on the screen at a time*/
+ int alien_number_;
/** Miltiplier to increase number of alien as time goes on */
int spawn_time_multipler_;