Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Revision:
34:1d5b4da3935e
Parent:
33:4f3948dcd2f7
Child:
35:06cd6be999ad
--- a/Entity/Mobs/Snake/Snake.cpp	Mon May 06 13:27:26 2019 +0000
+++ b/Entity/Mobs/Snake/Snake.cpp	Mon May 06 13:58:39 2019 +0000
@@ -48,7 +48,7 @@
 }
 
 // Functions
-void Snake::move(float player_x, float player_y, int * map, bool * doorways)
+void Snake::move(float player_x, float player_y, char * map, bool * doorways)
 {
     std::complex<double> pos_diff(player_x - position.x, player_y - position.y); // defining difference in position as a vector
     velocity = velocity_pattern[_velocity_index]; // Creating slithering effect, changing velocity of movement