Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
34:1d5b4da3935e
Parent:
33:4f3948dcd2f7
Child:
35:06cd6be999ad
--- a/Entity/Player/Bullets/Bullets.cpp	Mon May 06 13:27:26 2019 +0000
+++ b/Entity/Player/Bullets/Bullets.cpp	Mon May 06 13:58:39 2019 +0000
@@ -17,7 +17,7 @@
     direction = dir;
 }
 
-void Bullets::move(float speed, float unused, int * unused2, bool * unused3)
+void Bullets::move(float speed, float unused, char * unused2, bool * unused3)
 {
     if (direction == 0) {
         position.y -= speed;
@@ -44,7 +44,7 @@
     hp -= damage;
 }
 
-bool Bullets::out_of_bounds_check(int * map, bool * doorways)
+bool Bullets::out_of_bounds_check(char * map, bool * doorways)
 {
     if (entity_to_map_collision_test(position.x, position.y, map, doorways)) {
         return true;