Preparation for different types of terrain
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
void MarioVisitor::visit( const SDLPP::RenderObject &obj ) {
|
||||
auto id = obj.getId();
|
||||
switch ( id ) {
|
||||
case FLOOR_OVERWORLD_ID:
|
||||
case FLOOR_ID:
|
||||
if ( from == MARIO_FLOOR_DETECT )
|
||||
onGround = true;
|
||||
else if ( from == MARIO_LEFT_SIDE_DETECT )
|
||||
|
||||
Reference in New Issue
Block a user