![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
1
Dependencies: mbed Gamepad N5110
Diff: Snake/Snake.h
- Revision:
- 7:cafa0b96e8d3
- Parent:
- 6:1ad8c738b9b7
- Child:
- 9:5f73221012bf
diff -r 1ad8c738b9b7 -r cafa0b96e8d3 Snake/Snake.h --- a/Snake/Snake.h Thu May 02 08:17:22 2019 +0000 +++ b/Snake/Snake.h Sun May 05 12:10:48 2019 +0000 @@ -6,7 +6,7 @@ #include "Gamepad.h" #include "Food.h" -/************************Structs************************/ + struct snakePart{ char _x[4000]; char _y[4000]; @@ -14,7 +14,7 @@ }; -/************************Class Def************************/ + /** My Snake Class * @brief Class for defining snake's properties and states @@ -89,8 +89,7 @@ int Highest_score; - -/************************Private Vars************************/ + private: int _direction;