mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-11-24 00:10:17 +00:00
Initial commit - LCEMP source code (assets excluded)
This commit is contained in:
commit
21a5a4aef0
2946 files changed
+577259
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#include "stdafx.h"
|
||||
#include "Tutorial.h"
|
||||
#include "FullTutorialActiveTask.h"
|
||||
|
||||
FullTutorialActiveTask::FullTutorialActiveTask(Tutorial *tutorial, eTutorial_CompletionAction completeAction /*= e_Tutorial_Completion_None*/)
|
||||
: TutorialTask( tutorial, -1, false, NULL, false, false, false )
|
||||
{
|
||||
m_completeAction = completeAction;
|
||||
}
|
||||
|
||||
bool FullTutorialActiveTask::isCompleted()
|
||||
{
|
||||
return bHasBeenActivated;
|
||||
}
|
||||
|
||||
eTutorial_CompletionAction FullTutorialActiveTask::getCompletionAction()
|
||||
{
|
||||
if( tutorial->m_fullTutorialComplete )
|
||||
{
|
||||
return m_completeAction;
|
||||
}
|
||||
else
|
||||
{
|
||||
return e_Tutorial_Completion_None;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user