Retocados nombres de variables antiguos

This commit is contained in:
2022-08-26 19:53:19 +02:00
parent a4000d25db
commit 5ff62a6950
12 changed files with 273 additions and 201 deletions

View File

@@ -9,6 +9,16 @@
#ifndef ACTOR_H
#define ACTOR_H
// Tipos de actores
enum actor_name_e
{
a_moving_platform,
a_key,
a_heart,
a_diamond,
a_door
};
// Estructura para pasar los datos de un enemigo
struct actor_t
{
@@ -22,6 +32,7 @@ struct actor_t
float y; // Posición inicial en el eje Y
float vx; // Velocidad en el eje X
float vy; // Velocidad en el eje Y
actor_name_e name; // Tipo de actor
};
// Clase Actor