eliminats metodes frame-based obsolets
This commit is contained in:
@@ -26,7 +26,6 @@ class Tabe {
|
||||
~Tabe() = default;
|
||||
|
||||
// --- Métodos principales ---
|
||||
void update(); // Actualiza la lógica (frame-based)
|
||||
void update(float deltaTime); // Actualiza la lógica (time-based)
|
||||
void render(); // Dibuja el objeto
|
||||
void enable(); // Habilita el objeto
|
||||
@@ -142,11 +141,9 @@ class Tabe {
|
||||
Timer timer_; // Temporizador para gestionar la aparición
|
||||
|
||||
// --- Métodos internos ---
|
||||
void move(); // Mueve el objeto (frame-based)
|
||||
void move(float deltaTime); // Mueve el objeto (time-based)
|
||||
void shiftSprite() { sprite_->setPos(x_, y_); } // Actualiza la posición del sprite
|
||||
void setRandomFlyPath(Direction direction, int length); // Establece un vuelo aleatorio
|
||||
void updateState(); // Actualiza el estado (frame-based)
|
||||
void updateState(float deltaTime); // Actualiza el estado (time-based)
|
||||
void updateTimer(); // Actualiza el temporizador
|
||||
void disable(); // Deshabilita el objeto
|
||||
|
||||
Reference in New Issue
Block a user