Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: SnakevsBlock/SnakevsBlock.h
- Revision:
- 24:1c118b071430
- Parent:
- 22:ee698f66146f
- Child:
- 25:e827f1a8fadc
--- a/SnakevsBlock/SnakevsBlock.h Wed Apr 10 09:00:45 2019 +0000 +++ b/SnakevsBlock/SnakevsBlock.h Wed Apr 10 10:59:15 2019 +0000 @@ -58,8 +58,7 @@ int speed; //makes sure that snake only moves if not colliding to block walls int b[15]; int b0_to_b14[15]; - int snake_posx[15]; - int snake_posy[15]; + Vector2D snake_pos[15]; private: