delete some unreferenced functions
This commit is contained in:
parent
4ae567eab5
commit
b583ad562f
|
|
@ -613,9 +613,6 @@ public:
|
|||
// 重写这个函数,它将在每一帧画面刷新时执行
|
||||
virtual void onUpdate() {}
|
||||
|
||||
// 重写这个函数,它将在游戏暂停时执行
|
||||
virtual void onPause() {}
|
||||
|
||||
// 开启或禁用 onUpdate 函数
|
||||
void setAutoUpdate(
|
||||
bool bAutoUpdate
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class ObjectManager
|
|||
public:
|
||||
// 将一个对象放入内存池
|
||||
static void add(
|
||||
e2d::Object * nptr
|
||||
Object * nptr
|
||||
);
|
||||
|
||||
// 释放垃圾对象的内存空间
|
||||
|
|
|
|||
|
|
@ -39,12 +39,9 @@ public:
|
|||
// 碰撞处理
|
||||
virtual void onCollide(
|
||||
Node* pCollisionNode, /* 发生碰撞的节点 */
|
||||
int nRelation /* 碰撞关系,取值为 ERelation::VALUE 中的一种 */
|
||||
int nRelation /* 碰撞关系,取值为 Relation::VALUE 中的一种 */
|
||||
) {}
|
||||
|
||||
// 节点被销毁时的处理
|
||||
virtual void onDestroy() {}
|
||||
|
||||
// 获取节点显示状态
|
||||
virtual bool isVisiable() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@
|
|||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<DebugInformationFormat>None</DebugInformationFormat>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
|
|
|||
Loading…
Reference in New Issue