Adjustments to order of entering a stage

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
2024-02-28 21:09:59 +00:00
parent 85dcc64e2e
commit fecabce054
6 changed files with 13 additions and 26 deletions
+1 -2
View File
@@ -43,7 +43,6 @@ TutorialTaskName Tutorial::currentTaskState=TutorialTaskName::CHANGE_LOADOUT;
void Tutorial::Initialize(){
using enum TutorialTaskName;
#define CREATETASK(enum,class) taskList.insert(enum,std::make_unique<class>());
CREATETASK(CHANGE_LOADOUT,ChangeLoadoutTask);
CREATETASK(SET_LOADOUT_ITEM,SetLoadoutItemTask);
CREATETASK(MOVE_AROUND,MoveAroundTask);
ResetTasks();
@@ -88,7 +87,7 @@ void Tutorial::Update(){
}
}
void Tutorial::Draw(){}
void Tutorial::Draw()const{}
const bool Tutorial::TaskIsComplete(TutorialTaskName task){
return taskList.at(task)->IsComplete();