Ahmed Adamjee
/
SnakeVSBlock
Snake vs Block Game to be run upon K64F.
Diff: SnakevsBlock/SnakevsBlock.h
- Revision:
- 29:c6358c39a70e
- Parent:
- 27:3b4775a0d0bb
- Child:
- 33:249cf423fb18
--- a/SnakevsBlock/SnakevsBlock.h Fri Apr 12 16:43:16 2019 +0000 +++ b/SnakevsBlock/SnakevsBlock.h Sun Apr 14 10:24:59 2019 +0000 @@ -44,6 +44,12 @@ */ void get_pos(); + /** Check Block + * + * This function returns the srn of the block we are colliding with; + */ + int CheckBlock(int Block); + /** Implement Collision * * This function allows the appropriate maths to take place after every collision.