From b583ad562f05f7d666755f598c650a2f51179833 Mon Sep 17 00:00:00 2001
From: Nomango <569629550@qq.com>
Date: Tue, 6 Mar 2018 22:39:15 +0800
Subject: [PATCH] delete some unreferenced functions
---
 core/ecommon.h                | 3 ---
 core/emanagers.h              | 2 +-
 core/enodes.h                 | 5 +----
 project/vs2017/Easy2D.vcxproj | 2 +-
 4 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/core/ecommon.h b/core/ecommon.h
index 591283bb..885aa484 100644
--- a/core/ecommon.h
+++ b/core/ecommon.h
@@ -613,9 +613,6 @@ public:
 	// 重写这个函数,它将在每一帧画面刷新时执行
 	virtual void onUpdate() {}
 
-	// 重写这个函数,它将在游戏暂停时执行
-	virtual void onPause() {}
-
 	// 开启或禁用 onUpdate 函数
 	void setAutoUpdate(
 		bool bAutoUpdate
diff --git a/core/emanagers.h b/core/emanagers.h
index 363e1a29..5c1e5d9d 100644
--- a/core/emanagers.h
+++ b/core/emanagers.h
@@ -24,7 +24,7 @@ class ObjectManager
 public:
 	// 将一个对象放入内存池
 	static void add(
-		e2d::Object * nptr
+		Object * nptr
 	);
 
 	// 释放垃圾对象的内存空间
diff --git a/core/enodes.h b/core/enodes.h
index 469e64bc..7a8d929c 100644
--- a/core/enodes.h
+++ b/core/enodes.h
@@ -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;
 
diff --git a/project/vs2017/Easy2D.vcxproj b/project/vs2017/Easy2D.vcxproj
index 8eb9ee9c..6d0d5d6f 100644
--- a/project/vs2017/Easy2D.vcxproj
+++ b/project/vs2017/Easy2D.vcxproj
@@ -101,7 +101,7 @@
       Disabled
       WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
       true
-      EditAndContinue
+      None
       false