Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
SnakeEngine.h@26:a596dce2f938, 2020-04-05 (annotated)
- Committer:
- JoeShotton
- Date:
- Sun Apr 05 21:15:07 2020 +0000
- Revision:
- 26:a596dce2f938
collision detection implemented and added to SnakeEngine source and header files
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| JoeShotton | 26:a596dce2f938 | 1 | |
| JoeShotton | 26:a596dce2f938 | 2 | |
| JoeShotton | 26:a596dce2f938 | 3 | |
| JoeShotton | 26:a596dce2f938 | 4 | /** Play a single tone for the specifed duration |
| JoeShotton | 26:a596dce2f938 | 5 | *@param state of movement fsm |
| JoeShotton | 26:a596dce2f938 | 6 | *@param current x value of head |
| JoeShotton | 26:a596dce2f938 | 7 | *@param current y value of head |
| JoeShotton | 26:a596dce2f938 | 8 | */ |
| JoeShotton | 26:a596dce2f938 | 9 | bool collision(int state, int x, int y,); |