treballant en la nova clase Player

This commit is contained in:
2025-11-05 14:15:00 +01:00
parent a20ea5299d
commit 288e01e47f
7 changed files with 970 additions and 63 deletions

View File

@@ -743,7 +743,7 @@ auto Room::checkTopSurfaces(SDL_FPoint* p) -> bool {
}
// Comprueba las colisiones
auto Room::checkAutoSurfaces(SDL_FPoint* p) -> bool {
auto Room::checkConveyorBelts(SDL_FPoint* p) -> bool {
return std::ranges::any_of(conveyor_belt_floors_, [&](const auto& s) {
return checkCollision(s, *p);
});