Snake game snake library
Diff: Snake.h
- Revision:
- 1:93a4cb86f100
- Parent:
- 0:2eb4d7e86e2f
- Child:
- 2:5e04e34a3b66
diff -r 2eb4d7e86e2f -r 93a4cb86f100 Snake.h --- a/Snake.h Thu May 04 12:01:04 2017 +0000 +++ b/Snake.h Fri May 05 10:36:54 2017 +0000 @@ -29,6 +29,7 @@ void get_length(); int _length; + private: @@ -37,6 +38,8 @@ int _speed; int _direction; int counter; + int startx; + int starty; //int _snakeX[4000]; //int _snakeY[4000]; //int _snakeDir[4000];