Mario: Add restart and background color for menus
This commit is contained in:
@@ -50,14 +50,11 @@ void MarioVisitor::visit(const SDLPP::RenderObject &obj) {
|
||||
}
|
||||
break;
|
||||
case DEATH_ID:
|
||||
// TODO remove death?
|
||||
death = true;
|
||||
_quit = true;
|
||||
_death = true;
|
||||
break;
|
||||
case GOOMBA_ID:
|
||||
if (from != MARIO_FLOOR_DETECT && from != MARIO_ENEMY_DETECT) {
|
||||
death = true;
|
||||
_quit = true;
|
||||
_death = true;
|
||||
} else {
|
||||
_bounce = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user