
Final Commit
Dependencies: mbed
Diff: Snake/Snake.h
- Revision:
- 12:9f2f64016f56
- Parent:
- 11:e260c17a0489
- Child:
- 13:72bc2579e85e
--- a/Snake/Snake.h Fri Apr 06 15:15:50 2018 +0000 +++ b/Snake/Snake.h Mon Apr 09 10:16:58 2018 +0000 @@ -13,6 +13,14 @@ }; +Vector2D g_snake_position(); // global variable to increment/decrement the position of the snake + +static Vector2D g_p; + +Direction current_direction(); // global variable to hold the current direction + +static Direction g_d; + /** Snake Class * @brief Describes the methods and functions for the snake