Abstract Unit class

This commit is contained in:
2024-09-11 17:16:15 +02:00
parent c9be0f2d2f
commit dd61f06a18
4 changed files with 14 additions and 11 deletions

View File

@ -17,3 +17,7 @@ void Hero::draw(QGraphicsScene *scene) const {
Unit *Hero::clone() const {
return new Hero(*this);
}
bool Hero::isAlive() const { return true; }
bool Hero::isToBeJunked() const { return false; }
void Hero::doCrash() {}