Walk animation controller now applied to the overworld map stage.

This commit is contained in:
2023-10-29 17:30:09 -05:00
parent c065e9f6fb
commit 42f8e25cdf
6 changed files with 12 additions and 5 deletions
+2
View File
@@ -4,9 +4,11 @@
#include "Menu.h"
INCLUDE_MONSTER_LIST
INCLUDE_game
void State_GameRun::OnStateChange(GameState*prevState){
Menu::CloseAllMenus();
game->GetPlayer()->SetState(State::NORMAL);
};
void State_GameRun::OnUserUpdate(Crawler*game){
game->bossDisplayTimer=std::max(0.f,game->bossDisplayTimer-game->GetElapsedTime());