Base methods in unit
This commit is contained in:
@ -16,7 +16,12 @@ public:
|
||||
/*
|
||||
* Draws this junk onto the given QGraphicsScene.
|
||||
*/
|
||||
void draw(QGraphicsScene* scene) const;
|
||||
void draw(QGraphicsScene *scene) const override;
|
||||
bool isAlive() const override;
|
||||
bool isToBeJunked() const override;
|
||||
void doCrash() override;
|
||||
void moveTowards(const Point&) const;
|
||||
|
||||
};
|
||||
|
||||
#endif // JUNK_H
|
||||
|
Reference in New Issue
Block a user