Mario: add option to make a block collision-less

This commit is contained in:
2021-06-21 19:40:29 +02:00
parent a54d079fd2
commit b423ac7b8c
6 changed files with 19 additions and 2 deletions
+2
View File
@@ -7,6 +7,8 @@ void MarioVisitor::visit( const SDLPP::RenderObject &obj ) {
auto id = obj.getId();
switch ( id ) {
case FLOOR_ID:
case BRICK_ID:
case BRICK_TOP_ID:
case PIPE_LEFT_BOTTOM_ID:
case PIPE_RIGHT_BOTTOM_ID:
case PIPE_LEFT_TOP_ID: