[Modify] 실내 맵 이동 시, 빗자루 경주가 끝나면 FadeIn Out
This commit is contained in:
@@ -21,7 +21,6 @@ HRESULT CQuest::Initialize(void* pArg)
|
||||
QUESTINFO* Info = static_cast<QUESTINFO*>(pArg);
|
||||
m_iQuestID = Info->iQuestID;
|
||||
m_ObjectiveInfo = Info->ObjectiveInfo;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
@@ -38,7 +37,7 @@ _bool CQuest::Update_Objective(_int MonsterID)
|
||||
continue;
|
||||
|
||||
++it.iCurrentCount;
|
||||
|
||||
m_iMonsterID = MonsterID;
|
||||
if (it.iCurrentCount >= it.iRequiredCount)
|
||||
it.bClear = true;
|
||||
|
||||
@@ -59,6 +58,11 @@ _int CQuest::Get_QuestID()
|
||||
return m_iQuestID;
|
||||
}
|
||||
|
||||
_int CQuest::Get_MonsterID()
|
||||
{
|
||||
return m_iMonsterID;
|
||||
}
|
||||
|
||||
void CQuest::Free()
|
||||
{
|
||||
__super::Free();
|
||||
|
||||
@@ -9,10 +9,11 @@ class ENGINE_DLL CQuest abstract : public CGameObject
|
||||
public:
|
||||
typedef struct tagObjectiveInfo
|
||||
{
|
||||
_bool bClear{};
|
||||
_int iTargetID{};
|
||||
_int iRequiredCount{};
|
||||
_int iCurrentCount{};
|
||||
_bool bClear{};
|
||||
_int iTargetID{};
|
||||
_wstring pQuestInfo{};
|
||||
_int iRequiredCount{};
|
||||
_int iCurrentCount{};
|
||||
}OBJECTIVEINFO;
|
||||
|
||||
typedef struct tagRewardsInfo
|
||||
@@ -43,10 +44,11 @@ class ENGINE_DLL CQuest abstract : public CGameObject
|
||||
public:
|
||||
virtual _bool Update_Objective(_int MonsterID);
|
||||
virtual _int Get_QuestID();
|
||||
|
||||
virtual _int Get_MonsterID();
|
||||
protected:
|
||||
vector<OBJECTIVEINFO> m_ObjectiveInfo;
|
||||
_int m_iQuestID{};
|
||||
_int m_iMonsterID{};
|
||||
|
||||
public:
|
||||
virtual void Free() override;
|
||||
|
||||
Reference in New Issue
Block a user