clang-tidy modernize
This commit is contained in:
@@ -35,9 +35,9 @@ class TiledBG {
|
||||
void setColor(Color color) { SDL_SetTextureColorMod(canvas_, color.r, color.g, color.b); } // Cambia el color de la textura
|
||||
|
||||
// --- Getters ---
|
||||
bool isStopped() const { return speed_ == 0.0f; } // Indica si está parado
|
||||
[[nodiscard]] auto isStopped() const -> bool { return speed_ == 0.0f; } // Indica si está parado
|
||||
|
||||
private:
|
||||
private:
|
||||
// --- Constantes ---
|
||||
static constexpr int TILE_WIDTH = 64; // Ancho del tile
|
||||
static constexpr int TILE_HEIGHT = 64; // Alto del tile
|
||||
|
||||
Reference in New Issue
Block a user