Base methods in unit

This commit is contained in:
2024-09-11 15:20:50 +02:00
parent de44ead6db
commit 7af25040f9
6 changed files with 29 additions and 10 deletions

View File

@ -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