P2-2 Harris Barton
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: snake.h
- Revision:
- 3:e2fb359d6545
- Parent:
- 2:4947d6a82971
diff -r 4947d6a82971 -r e2fb359d6545 snake.h --- a/snake.h Fri Oct 23 16:30:18 2020 -0400 +++ b/snake.h Wed Nov 25 01:17:39 2020 +0000 @@ -18,6 +18,12 @@ int length; // length of the snake Coordinate locations[SNAKE_MAX_LENGTH]; // Snake body locations int score; //Current score of the snake + int pointLockTime; + int speedupTime; + int slowdownTime; + bool invincible; + int invincTimer; + int lives; } Snake; // Initialize a snake structure