mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-29 08:05:46 +03:00
37 lines
546 B
C++
37 lines
546 B
C++
#include "precompiled.h"
|
|
|
|
CBaseTutorStateSystem::CBaseTutorStateSystem()
|
|
{
|
|
m_currentState = nullptr;
|
|
}
|
|
|
|
CBaseTutorStateSystem::~CBaseTutorStateSystem()
|
|
{
|
|
;
|
|
}
|
|
|
|
TutorStateType CBaseTutorStateSystem::GetCurrentStateType() const
|
|
{
|
|
if (m_currentState)
|
|
{
|
|
return m_currentState->GetType();
|
|
}
|
|
|
|
return TUTORSTATE_UNDEFINED;
|
|
}
|
|
|
|
CBaseTutorState::CBaseTutorState()
|
|
{
|
|
m_type = TUTORSTATE_UNDEFINED;
|
|
}
|
|
|
|
CBaseTutorState::~CBaseTutorState()
|
|
{
|
|
;
|
|
}
|
|
|
|
TutorStateType CBaseTutorState::GetType() const
|
|
{
|
|
return m_type;
|
|
}
|