
Issue appears to occur when one of the obstacles x value reaches -4
Dependencies: mbed
Diff: Engine.h
- Revision:
- 0:e1f5bfbb6e53
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Engine.h Fri Mar 27 10:23:53 2020 +0000 @@ -0,0 +1,17 @@ +#ifndef ENGINE_H +#define ENGINE_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" +#include "Car.h" + +class Engine +{ +public: + Engine(); + ~Engine(); + void run(N5110 &lcd, Gamepad &pad, Car &user); +}; + +#endif \ No newline at end of file