![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Owen Cavender 201159294
Diff: GameEngine.h
- Revision:
- 2:44e4a6ecdbef
- Parent:
- 1:897160a1a3ae
--- a/GameEngine.h Tue May 26 12:17:59 2020 +0000 +++ b/GameEngine.h Tue May 26 18:35:44 2020 +0000 @@ -17,11 +17,12 @@ ~GameEngine(); - void init(int shx, int shy, int apx, int apy); + void init(int shx, int shy, int apx, int apy, int Oshx, int Oshy); void set_Snakehead(Vector2D Snakehead); void set_Applepos(N5110 &lcd); Vector2D get_Snakehead(); Vector2D get_Applepos(); + Vector2D get_oldSnakehead(); //void clear_Applepos(); @@ -30,6 +31,8 @@ int _shy; int _apx; int _apy; + int _Oshx; + int _Oshy; };