class for obstacles in Car_race game
Diff: Obstacles.h
- Revision:
- 0:f8968ec0ec1b
- Child:
- 1:a735e7396af4
diff -r 000000000000 -r f8968ec0ec1b Obstacles.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Obstacles.h Mon Mar 13 16:08:28 2017 +0000 @@ -0,0 +1,26 @@ +#ifndef OBSTACLES_H +#define OBSTACLES_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + +class Obstacles + +{ + + public: + + Obstacles(); + ~Obstacles(); + + void init(int seed); + void draw(N5110 &lcd); + void update(int seed); + + private: + + int _Obstacle_x; +}; + +#endif \ No newline at end of file