Mochu Yao explorer game

Dependencies:   mbed

Revision:
20:20e6ba54e15c
Parent:
19:14c5427b30d1
Child:
22:f8ba0ab7465c
diff -r 14c5427b30d1 -r 20e6ba54e15c Gameengine/Gameengine.cpp
--- a/Gameengine/Gameengine.cpp	Tue Apr 28 13:37:26 2020 +0000
+++ b/Gameengine/Gameengine.cpp	Tue Apr 28 14:13:36 2020 +0000
@@ -68,7 +68,7 @@
           }
           
 void Gameengine::check_collision(Gamepad &gamepad) {
-    if ((_player_x == _item.get_item_x()
+    if ((_player_x == _item.get_item_x())
       && (_player_y == _item.get_item_y() - 8)) {  
     _collision_flag = true;
     _player_score++;