Redissenyat el time stopper

This commit is contained in:
2024-10-27 13:36:00 +01:00
parent ddfb3672ea
commit 71f76fda05
12 changed files with 233 additions and 398 deletions

View File

@@ -44,7 +44,7 @@ Item::Item(ItemType type, float x, float y, SDL_Rect &play_area, std::shared_ptr
}
// Centra el objeto en la posición X
void Item::allignTo(int x)
void Item::alignTo(int x)
{
pos_x_ = static_cast<float>(x - (width_ / 2));