class for obstacles in Car_race game
Diff: Obstacles.h
- Revision:
- 1:a735e7396af4
- Parent:
- 0:f8968ec0ec1b
- Child:
- 8:c8007ccac5c0
--- a/Obstacles.h Mon Mar 13 16:08:28 2017 +0000 +++ b/Obstacles.h Tue Mar 14 10:13:40 2017 +0000 @@ -15,11 +15,12 @@ ~Obstacles(); void init(int seed); - void draw(N5110 &lcd); - void update(int seed); + void draw(N5110 &lcd,int seed); + void update(N5110 &lcd); private: + int _Obstacle_x; };