Prints objects on to a Nokia N5110 LCD display and makes them 'fall' down the display.
Dependents: Game_Controller_Project
Diff: Objects.h
- Revision:
- 1:a05d10d3d33f
- Parent:
- 0:a1d36c50a0b7
- Child:
- 2:3f42da6a4c89
--- a/Objects.h Tue Mar 14 10:48:39 2017 +0000 +++ b/Objects.h Fri Mar 17 15:34:43 2017 +0000 @@ -2,8 +2,8 @@ #define OBJECTS_H #include "mbed.h" +#include "N5110.h" #include "Gamepad.h" -#include "N5110.h" #include "Basket.h" class Objects @@ -12,4 +12,17 @@ Objects(); ~Objects(); - void init( \ No newline at end of file + void Objects_init(int speed); + void Objects_draw(N5110 &lcd); + void Objects_move(); + int get_Objects_pos(); + + private: + + int Objects_size; + int Objects_x; + int Objects_y; + int Objects_ep; + int Objects_speed; +}; +#endif \ No newline at end of file