相关代码 |
|
// Object.cpp: implementation of the CObject class. #include "Object.h" CObject::CObject() { } CObject::~CObject() { } void CObject::HeartBeat() { } // 取得物体的ID long CObject::GetUniqueId() { return m_uid; } // 设置物体的ID void CObject::SetUniqueId(long id) { m_uid = id; } // 设置物体的类型 void CObject::SetObjectType(long type) { m_obType = type; } // 取得物体的类型 long CObject::GetObjectType() { return m_obType; }
相关资源 |
|