Stick_Runner
Dependencies: FXOS8700CQ Gamepad N5110 SDFileSystem mbed
Fork of Stick_Runner by
Diff: Obstacles/Obstacles.h
- Revision:
- 1:db9ff66f67c8
- Parent:
- 0:12cfe63faa6a
- Child:
- 3:0c690f1c04d8
--- a/Obstacles/Obstacles.h Fri Apr 28 09:00:21 2017 +0000 +++ b/Obstacles/Obstacles.h Fri Apr 28 16:30:47 2017 +0000 @@ -9,21 +9,21 @@ { public: - Obstacles(); - ~Obstacles(); +// Obstacles(); + // ~Obstacles(); void init(); void draw(N5110 &lcd); - void update(); - void Obstacles_Status(Vector2D p); + void updateObstacle(); + void obstacleStatus(Vector2D p); void add_score(); int get_score(); - Vector2D get_pos(); - bool get_status(); + Vector2D getObstaclePos(); + bool getObstacleStatus(); private: -int _x; -int _y; -bool _status; + int obsPosX; + int obsPosY; +bool obStatus; }; #endif \ No newline at end of file