diff options
author | chai <chaifix@163.com> | 2019-01-27 01:26:36 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-27 01:26:36 +0800 |
commit | 6c8788ed76e1ead173fdeb51caaa43d538fcfe21 (patch) | |
tree | 4ec71c3aca07d58d96574671f83f9750f901cb11 /Source/Asura.Engine/Component.h | |
parent | 409262a6a26972770ba64728a60d45dd2d9fb752 (diff) |
*misc
Diffstat (limited to 'Source/Asura.Engine/Component.h')
-rw-r--r-- | Source/Asura.Engine/Component.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/Source/Asura.Engine/Component.h b/Source/Asura.Engine/Component.h deleted file mode 100644 index 807bbba..0000000 --- a/Source/Asura.Engine/Component.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef __AE_COMPONENT_H__ -#define __AE_COMPONENT_H__ - -#include "GameObject.h" - -namespace AsuraEngine -{ - - class GameObject; - - /// - /// ComponentͨprefabGameObjectϡ - /// - class Component : public Object - { - public: - - virtual void OnEnable(); - virtual void OnEvent(); - virtual void OnUpdate(uint32 milliseconds); - virtual void OnRender(); - virtual void OnDisable(); - - protected: - - enum class EnableCallback - { - OnEnable = 1, - OnEvent = 1 << 1, - OnUpdate = 1 << 2, - OnRender = 1 << 3, - OnDisable = 1 << 4, - }; - - EnableCallback mEnabledCallbacks; - - GameObject* mGameObject; - - }; - -} - -#endif
\ No newline at end of file |