summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/GameObject.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-20 19:42:03 +0800
committerchai <chaifix@163.com>2019-01-20 19:42:03 +0800
commit0c65330f29d214cdfd810e83096669c5f2c20bee (patch)
tree28ce1bb02e29e18413e1ca5f18bba9a6e4bfc115 /Source/Asura.Framework/GameObject.lua
parentd570df7decd9a4f19c66b2d2d57a54652f0f9b7e (diff)
*misc
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