![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
1
Dependencies: mbed Gamepad N5110
Diff: Snake/Snake.h
- Revision:
- 5:c5fa3fea1a20
- Parent:
- 4:c30fb57e0d42
- Child:
- 6:1ad8c738b9b7
diff -r c30fb57e0d42 -r c5fa3fea1a20 Snake/Snake.h --- a/Snake/Snake.h Thu May 02 07:31:21 2019 +0000 +++ b/Snake/Snake.h Thu May 02 07:48:32 2019 +0000 @@ -6,11 +6,6 @@ #include "Gamepad.h" #include "Food.h" -/** My Snake Class -* @brief Class for defining snake's properties and states -* @author Li Saiwen -* @date May, 2019 -*/ /************************Structs************************/ struct snakePart{ char _x[4000]; @@ -20,6 +15,12 @@ }; /************************Class Def************************/ + +/** My Snake Class +* @brief Class for defining snake's properties and states +* @author Li Saiwen +* @date May, 2019 +*/ class Snake{ public: