2015-06-30 15:46:07 +06:00
|
|
|
#include "precompiled.h"
|
|
|
|
|
2016-02-04 06:18:26 +06:00
|
|
|
CBaseTutorStateSystem::CBaseTutorStateSystem()
|
|
|
|
{
|
|
|
|
;
|
2015-06-30 15:46:07 +06:00
|
|
|
}
|
|
|
|
|
2016-02-04 06:18:26 +06:00
|
|
|
CBaseTutorStateSystem::~CBaseTutorStateSystem()
|
2015-06-30 15:46:07 +06:00
|
|
|
{
|
2015-08-20 16:35:01 +06:00
|
|
|
;
|
2015-06-30 15:46:07 +06:00
|
|
|
}
|
|
|
|
|
2016-02-04 06:18:26 +06:00
|
|
|
int CBaseTutorStateSystem::GetCurrentStateType() const
|
2015-06-30 15:46:07 +06:00
|
|
|
{
|
2017-01-29 05:56:29 +06:00
|
|
|
if (m_currentState)
|
2015-08-20 16:35:01 +06:00
|
|
|
{
|
|
|
|
return m_currentState->GetType();
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
2015-06-30 15:46:07 +06:00
|
|
|
}
|
|
|
|
|
2016-02-04 06:18:26 +06:00
|
|
|
CBaseTutorState::CBaseTutorState()
|
2015-06-30 15:46:07 +06:00
|
|
|
{
|
2015-08-20 16:35:01 +06:00
|
|
|
;
|
2015-06-30 15:46:07 +06:00
|
|
|
}
|
|
|
|
|
2016-02-04 06:18:26 +06:00
|
|
|
CBaseTutorState::~CBaseTutorState()
|
2015-06-30 15:46:07 +06:00
|
|
|
{
|
2015-08-20 16:35:01 +06:00
|
|
|
;
|
2015-06-30 15:46:07 +06:00
|
|
|
}
|
|
|
|
|
2016-02-04 06:18:26 +06:00
|
|
|
int CBaseTutorState::GetType() const
|
2015-06-30 15:46:07 +06:00
|
|
|
{
|
2015-08-20 16:35:01 +06:00
|
|
|
return m_type;
|
2015-06-30 15:46:07 +06:00
|
|
|
}
|