Josh Davy / Mbed 2 deprecated Flip

Dependencies:   mbed el17jd

Revision:
9:96969b1c6bde
Parent:
8:21b6d4dbce44
Child:
10:58cf89dd878c
--- a/Player/Player.h	Fri Apr 19 17:54:09 2019 +0000
+++ b/Player/Player.h	Wed Apr 24 10:18:45 2019 +0000
@@ -22,6 +22,9 @@
     void update(Gamepad &pad, Block blocks [],int number_of_blocks);
     void init(int height,int width,Vector2D pos);
     
+    void check_out_of_range();
+    bool check_goal_reached(Vector2D goal);
+    
     bool can_move_up(Block blocks [],int number_of_blocks);
     bool can_move_down(Block blocks [],int number_of_blocks);
     bool can_move_left(Block blocks [],int number_of_blocks);
@@ -30,6 +33,7 @@
 private:
     int _orientation;
     int _direction;
+    Vector2D _initial_pos;
 };
 
 #endif
\ No newline at end of file