Mario: add basic big mario logic
This commit is contained in:
@@ -55,7 +55,7 @@ void MarioVisitor::visit(const SDLPP::RenderObject &obj) {
|
||||
case GOOMBA_ID:
|
||||
if (from != MARIO_FLOOR_DETECT && from != MARIO_ENEMY_DETECT) {
|
||||
_death = true;
|
||||
} else {
|
||||
} else if (from == MARIO_FLOOR_DETECT || from == MARIO_ENEMY_DETECT) {
|
||||
_bounce = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user