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 MotionSensor
Diff: main.cpp
- Revision:
- 41:0697508a28ba
- Parent:
- 40:cbcbf6fc1421
- Child:
- 42:cdcda895cb1b
diff -r cbcbf6fc1421 -r 0697508a28ba main.cpp
--- a/main.cpp	Tue May 07 12:42:12 2019 +0000
+++ b/main.cpp	Tue May 07 17:02:30 2019 +0000
@@ -53,7 +53,7 @@
         
         srand(title.get_seed());
         player = new Player(39, 27);
-        room_engine = new RoomEngine(global_contrast, player);
+        room_engine = new RoomEngine(global_contrast);
         
         game_loop();
         game_over();
@@ -72,7 +72,7 @@
     while(1) {  // Floor Loop 
         for (int i = 0; i < MAX_ROOMS_MAP_X; i++) {
             for (int j = 0; j < MAX_ROOMS_MAP_Y; j++) {
-                rooms[j][i] = new Room(0, 1);
+                rooms[j][i] = new Room(0, 3);
             }
         }