ObjectPlayerClone.cpp
上传用户:szopptop
上传日期:2013-04-23
资源大小:1047k
文件大小:1k
- #include "stdafx.h"
- void CPlayerCloneObject::Create(CPlayerObject* pPlayerObject)
- {
- m_dwRunTime = GetTickCount();
- m_dwRunNextTick = 5000;
- strcpy(m_szName, "啊力飘");
- m_nCurrX = pPlayerObject->m_nCurrX;
- m_nCurrY = pPlayerObject->m_nCurrY;
- m_nDirection = GetBack(pPlayerObject->m_nDirection);
- m_pMap = pPlayerObject->m_pMap;
- m_tFeature = pPlayerObject->m_tFeature;
- m_pMap->AddNewObject(m_nCurrX, m_nCurrY, OS_MOVINGOBJECT, this);
- AddRefMsg(RM_TURN, m_nDirection, m_nCurrX, m_nCurrY, 0, m_szName);
- }
- void CPlayerCloneObject::Operate()
- {
- }