SharpShooter
Dependencies: 4DGL-uLCD-SE SDFileSystem mbed-rtos mbed wave_player
Diff: Obstacle.h
- Revision:
- 6:7f8c3169483a
- Parent:
- 5:f51cdddf541e
- Child:
- 9:96a2e663994b
--- a/Obstacle.h Fri Oct 28 00:36:11 2016 +0000 +++ b/Obstacle.h Fri Oct 28 01:00:49 2016 +0000 @@ -8,8 +8,6 @@ Obstacle(int x1, int x2, int y1, int y2, uLCD_4DGL uLCD); void drawObstacle(); void move(int speed); - void updateLocation(); - void setULCD(uLCD_4DGL uLCD); void changeDirection();// need change direction when hitting wall void setDirection(bool direction); }; @@ -22,8 +20,6 @@ this->uLCD = e; } -void Obstacle::setULCD( - void Obstacle::drawObstacle() { uLCD.filled_rectangle(x1,y1,x2,y2,0xFFFFFF); }