mil arreglos en les putes costeres
This commit is contained in:
@@ -44,6 +44,10 @@ class TileCollider {
|
||||
[[nodiscard]] auto hasGroundBelow(float x, float foot_y, float w) const -> bool;
|
||||
[[nodiscard]] auto checkSlopeBelow(float x, float foot_y, float w) const -> SlopeInfo;
|
||||
|
||||
// Devuelve true si el jugador está parcialmente dentro de algún tile de slope
|
||||
// (algún pie está por debajo de la superficie de un slope que solapa)
|
||||
[[nodiscard]] auto isInsideAnySlope(float x, float foot_y, float w) const -> bool;
|
||||
|
||||
private:
|
||||
static constexpr int TS = ::Tile::SIZE;
|
||||
static constexpr int MW = ::Map::WIDTH;
|
||||
|
||||
Reference in New Issue
Block a user