Retocando la abadía
This commit is contained in:
@@ -21,8 +21,8 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
|
||||
// ****
|
||||
// this->debug->setEnabled(true);
|
||||
currentRoom = "25.room";
|
||||
const int x = 28;
|
||||
const int y = 13;
|
||||
const int x = 30;
|
||||
const int y = 7;
|
||||
spawnPoint = {x * 8, y * 8, 0, 0, 0, s_standing, SDL_FLIP_HORIZONTAL};
|
||||
// ****
|
||||
|
||||
@@ -105,6 +105,10 @@ void Game::checkEventHandler()
|
||||
board.music ? JA_ResumeMusic() : JA_PauseMusic();
|
||||
break;
|
||||
|
||||
case SDL_SCANCODE_R:
|
||||
resource->reLoadRooms();
|
||||
break;
|
||||
|
||||
case SDL_SCANCODE_M:
|
||||
board.music = !board.music;
|
||||
board.music ? JA_ResumeMusic() : JA_PauseMusic();
|
||||
|
||||
Reference in New Issue
Block a user