forked from jaildesigner-jailgames/jaildoctors_dilemma
treballant en la nova clase Player
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user