Mario: Fireball works

This commit is contained in:
2022-11-12 21:32:18 +01:00
parent 3cde73d1ed
commit 7bd652f4e9
19 changed files with 300 additions and 16 deletions
+4 -1
View File
@@ -72,9 +72,12 @@ void GoombaBlock::handleVisitor(SDLPP::Visitor &visitor) {
startDeath();
// destroy();
}
if (g_visitor.instantDeath()) {
destroy();
}
#endif
}
void GoombaBlock::startDeath() {
death_started = true;
}
}