summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/GameObject.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Framework/GameObject.lua')
-rw-r--r--Source/Asura.Framework/GameObject.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/Asura.Framework/GameObject.lua b/Source/Asura.Framework/GameObject.lua
index 358ba14..1b328ca 100644
--- a/Source/Asura.Framework/GameObject.lua
+++ b/Source/Asura.Framework/GameObject.lua
@@ -1,4 +1,4 @@
-local GameObject = Class()
+local GameObject = AsuraEngine.Asset.SubClass("GameObject")
function GameObject:OnEnable()
@@ -8,7 +8,7 @@ function GameObject:OnEvent(e)
end
-function GameObject:OnUpdate()
+function GameObject:OnUpdate(dt)
end
@@ -52,4 +52,8 @@ function GameObject:SetRotation()
end
+function GameObject:ToAsset()
+
+end
+
return GameObject \ No newline at end of file