Added tutorial tooltips. Release Build 7758.
This commit is contained in:
@@ -45,6 +45,7 @@ All rights reserved.
|
||||
#include "GameEvent.h"
|
||||
#include "MenuComponent.h"
|
||||
#include "Unlock.h"
|
||||
#include "Tutorial.h"
|
||||
|
||||
INCLUDE_MONSTER_LIST
|
||||
INCLUDE_game
|
||||
@@ -79,6 +80,9 @@ void State_GameRun::OnLevelLoad(){
|
||||
Component<MenuComponent>(MenuType::PAUSE,"Return to Camp Button")->SetGrayedOut(
|
||||
!Unlock::IsUnlocked("HUB")||game->GetCurrentMapName()=="HUB"
|
||||
);
|
||||
if(!Tutorial::TaskIsComplete(TutorialTaskName::MOVE_AROUND)){
|
||||
Tutorial::SetNextTask(TutorialTaskName::MOVE_AROUND);
|
||||
}
|
||||
}
|
||||
void State_GameRun::OnUserUpdate(AiL*game){
|
||||
game->bossDisplayTimer=std::max(0.f,game->bossDisplayTimer-game->GetElapsedTime());
|
||||
|
||||
Reference in New Issue
Block a user