class for obstacles in Car_race game
Obstacles.h
- Committer:
- fy14aaz
- Date:
- 2017-03-13
- Revision:
- 0:f8968ec0ec1b
- Child:
- 1:a735e7396af4
File content as of revision 0:f8968ec0ec1b:
#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