bug hunting coffee machine on windows

This commit is contained in:
2021-08-27 08:58:54 +02:00
parent 97d5140ef9
commit 5d6047b642

View File

@@ -102,6 +102,17 @@ void Item::init(Uint8 value, float x, float y, LTexture *texture, SDL_Renderer *
default:
break;
}
if (mClass == ITEM_COFFEE_MACHINE)
{
printf("---\n");
printf("x\t%f\n", mPosX);
printf("y\t%f\n", mPosY);
printf("ax\t%f\n", mAccelX);
printf("ay\t%f\n", mAccelY);
printf("r\t%f\n", mCollider.r);
printf("---\n");
}
}
// Centra el objeto en la posición X