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.
Dependencies: mbed MotionSensor
Diff: Entity/Mobs/Snake/Snake.h
- Revision:
- 54:03ddad11d202
- Parent:
- 36:92d131695e7c
- Child:
- 55:fc618f82d1d0
--- a/Entity/Mobs/Snake/Snake.h Thu May 09 08:02:07 2019 +0000
+++ b/Entity/Mobs/Snake/Snake.h Thu May 09 08:12:41 2019 +0000
@@ -18,6 +18,9 @@
// Member Function
void update_prev_face();
char * get_frame();
+ void update_face(float diff_x, float diff_y);
+ void move_snake();
+ void increment_frame();
// Member Mutator
void update_hitbox(int, int, int, int, int, int, int);