Mario: use object alignment

This commit is contained in:
2021-04-27 15:56:13 +02:00
parent e5d0610f6d
commit 7c38e122d0
3 changed files with 49 additions and 48 deletions
-1
View File
@@ -4,7 +4,6 @@
void MarioVisitor::visit( const SDLPP::RenderObject &obj ) {
auto id = obj.getId();
std::cout << from << std::endl;
switch ( id ) {
case FLOOR_OVERWORLD_ID:
if ( from == MARIO_FLOOR_DETECT )