Ya pinta al jugador
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "screen.h"
|
||||
#include "input.h"
|
||||
#include "map.h"
|
||||
#include "player.h"
|
||||
|
||||
#ifndef GAME_H
|
||||
#define GAME_H
|
||||
@@ -21,6 +22,7 @@ private:
|
||||
int ticks; // Contador de ticks para ajustar la velocidad del programa
|
||||
int ticksSpeed; // Velocidad a la que se repiten los bucles del programa
|
||||
Map *map; // Objeto encargado de gestionar el mapeado del juego
|
||||
Player *player; // Objeto para gestionar el jugador
|
||||
|
||||
// Actualiza el juego, las variables, comprueba la entrada, etc.
|
||||
void update();
|
||||
|
||||
Reference in New Issue
Block a user