summaryrefslogtreecommitdiff
path: root/Source/Asura/AE_Component.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura/AE_Component.h')
-rw-r--r--Source/Asura/AE_Component.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Source/Asura/AE_Component.h b/Source/Asura/AE_Component.h
index e69de29..91ec46d 100644
--- a/Source/Asura/AE_Component.h
+++ b/Source/Asura/AE_Component.h
@@ -0,0 +1,27 @@
+#ifndef __AE_COMPONENT_H__
+#define __AE_COMPONENT_H__
+
+#include "AE_Object.h"
+
+namespace AsuraEngine
+{
+
+ class GameObject;
+
+ class Component : public Object
+ {
+ public:
+ virtual void OnEnable();
+ virtual void OnEvent();
+ virtual void OnUpdate(uint32 milliseconds);
+ virtual void OnRender();
+ virtual void OnDisable();
+
+ protected:
+ GameObject* mGameObject;
+
+ };
+
+}
+
+#endif \ No newline at end of file