testing documentation
Dependencies: mbed ll16j23s_test_docs
Diff: SnakeBody/SnakeBody.h
- Revision:
- 6:6c9453397f4a
- Parent:
- 4:ea3fa51c4386
- Child:
- 7:dd84e0fab346
--- a/SnakeBody/SnakeBody.h Sat May 23 17:16:44 2020 +0000 +++ b/SnakeBody/SnakeBody.h Sat May 23 20:01:00 2020 +0000 @@ -27,6 +27,9 @@ int _x_head; int _y_head; int _length; + + std::vector<int> _body_x; + std::vector<int> _body_y; /* void init(int x,int height,int width); void draw(N5110 &lcd); @@ -41,8 +44,6 @@ void update_position(); //int _d, int _state, int &_x_head, int &_y_head void update_body(); - std::vector<int> _body_x; - std::vector<int> _body_y; float _angle; int _d;