Prints objects on to a Nokia N5110 LCD display and makes them 'fall' down the display.
Dependents: Game_Controller_Project
Diff: Objects.h
- Revision:
- 3:0c79211fdfe0
- Parent:
- 2:3f42da6a4c89
- Child:
- 4:56ca80919a98
diff -r 3f42da6a4c89 -r 0c79211fdfe0 Objects.h --- a/Objects.h Tue Mar 21 11:10:44 2017 +0000 +++ b/Objects.h Thu Mar 23 15:25:12 2017 +0000 @@ -12,18 +12,18 @@ Objects(); ~Objects(); - void Objects_init(int speed); - void Objects_draw(N5110 &lcd); - void Objects_undraw(N5110 &lcd); - void Objects_move(); - int get_Objects_x(); - int get_Objects_y(); + void init(int speed); + void draw(N5110 &lcd); + void undraw(N5110 &lcd); + void move(); + int get_x(); + int get_y(); private: int objects_size; - int objects_x; - int objects_y; + int x_ref; + int y_ref; int objects_ep; int objects_speed; };