aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Utils/Component/Component.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-08-24 20:26:18 +0800
committerchai <chaifix@163.com>2018-08-24 20:26:18 +0800
commit106dfe48c40fdb24b7f5e8a84c992d15363a38d9 (patch)
tree575ed2df988e37c16d86528c85b9aea5f9755f3e /src/libjin/Utils/Component/Component.h
parent06fc5e860e3a0ff6a325394fa01c42fb768a058e (diff)
-some file
Diffstat (limited to 'src/libjin/Utils/Component/Component.h')
-rw-r--r--src/libjin/Utils/Component/Component.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/libjin/Utils/Component/Component.h b/src/libjin/Utils/Component/Component.h
deleted file mode 100644
index f63fb59..0000000
--- a/src/libjin/Utils/Component/Component.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef __JIN_TOOLS_COMPONENT_H
-#define __JIN_TOOLS_COMPONENT_H
-#include "../../modules.h"
-#if JIN_MODULES_TOOLS && JIN_TOOLS_COMPONENT
-
-namespace jin
-{
-namespace utils
-{
-
- class GameObject;
-
- class Component
- {
- public:
- Component(GameObject* obj)
- : gameObject(obj)
- {}
-
- virtual void update(float dt) = 0;
-
- private:
- GameObject* gameObject;
- };
-
-} // tools
-} // jin
-
-#endif // JIN_MODULES_TOOLS && JIN_TOOLS_COMPONENT
-#endif // __JIN_TOOLS_COMPONENT_H \ No newline at end of file