summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/scripts/graphics/animator.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-02-22 13:50:12 +0800
committerchai <chaifix@163.com>2019-02-22 13:50:12 +0800
commit22ba8d6af9e9a67e6bac11365df23b6a61fa62c7 (patch)
tree7e86accc40e3b99b8ae575f718136239fc249d2d /Source/Asura.Framework/scripts/graphics/animator.lua
parentf756fa0a17675ea70956af9c42f6c1117a84f9bd (diff)
*修改缩进
Diffstat (limited to 'Source/Asura.Framework/scripts/graphics/animator.lua')
-rw-r--r--Source/Asura.Framework/scripts/graphics/animator.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Asura.Framework/scripts/graphics/animator.lua b/Source/Asura.Framework/scripts/graphics/animator.lua
index 02f67ff..170d31f 100644
--- a/Source/Asura.Framework/scripts/graphics/animator.lua
+++ b/Source/Asura.Framework/scripts/graphics/animator.lua
@@ -7,17 +7,17 @@ Animator.spriteRenderer = AsuraEngine.Type.SpriteRenderer
Animator.animation = AsuraEngine.Type.Animation
function Animator:Ctor(gameobject, animation)
- self.base(gameobject)
- self.spriteRenderer = gameobject:GetSpriteRenderer()
- self.animation = animation
+ self.base(gameobject)
+ self.spriteRenderer = gameobject:GetSpriteRenderer()
+ self.animation = animation
end
function Animator:SetAnimation(animation)
- self.animation = animation
+ self.animation = animation
end
function Animator:GetAnimation()
- return self.animation
+ return self.animation
end
function Animator:OnUpdate(dt)
@@ -25,7 +25,7 @@ function Animator:OnUpdate(dt)
end
function Animator:OnRender()
-
+
end
return Animator \ No newline at end of file