[DOC:29/10/2025] w i h ja no fan falta, se pilla del .ANI

This commit is contained in:
2025-10-29 12:22:20 +01:00
parent 633936c6e8
commit 95dd6b4f70
3 changed files with 6 additions and 0 deletions

View File

@@ -12,8 +12,10 @@ class Enemy {
struct Data {
std::string surface_path{}; // Ruta al fichero con la textura
std::string animation_path{}; // Ruta al fichero con la animación
/* [DOC:29/10/2025] w i h ja no fan falta, se pilla del .ANI
int w = 0; // Anchura del enemigo
int h = 0; // Altura del enemigo
[/DOC] */
float x = 0.0f; // Posición inicial en el eje X
float y = 0.0f; // Posición inicial en el eje Y
float vx = 0.0f; // Velocidad en el eje X