Laila Al Badwawi 200906179 SpaceInvaders I declare this my own independent work and understand the university rules on plagiarism.
Dependencies: mbed
Diff: Spaceship/Spaceship.cpp
- Revision:
- 107:83b0bc100600
- Parent:
- 106:73d5d818ae7d
- Child:
- 108:ca888bb3ed54
--- a/Spaceship/Spaceship.cpp Sun May 05 13:20:44 2019 +0000 +++ b/Spaceship/Spaceship.cpp Sun May 05 13:27:20 2019 +0000 @@ -17,4 +17,9 @@ _speed_spaceship= speed_spaceship; } - +void Spaceship::draw(N5110 &lcd) +{ + lcd.drawRect(_x_spaceship,_y_spaceship,_x_spaceship+5,_y_spaceship+10,FILL_BLACK); + //lcd.drawSprite(_x_spaceship,_y_spaceship,10,12,(int *) spaceship_2); + +}