Abstract Unit class
This commit is contained in:
@ -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() {}
|
||||
|
Reference in New Issue
Block a user