summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/Animation.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-27 01:26:36 +0800
committerchai <chaifix@163.com>2019-01-27 01:26:36 +0800
commit6c8788ed76e1ead173fdeb51caaa43d538fcfe21 (patch)
tree4ec71c3aca07d58d96574671f83f9750f901cb11 /Source/Asura.Engine/Graphics/Animation.cpp
parent409262a6a26972770ba64728a60d45dd2d9fb752 (diff)
*misc
Diffstat (limited to 'Source/Asura.Engine/Graphics/Animation.cpp')
-rw-r--r--Source/Asura.Engine/Graphics/Animation.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/Asura.Engine/Graphics/Animation.cpp b/Source/Asura.Engine/Graphics/Animation.cpp
deleted file mode 100644
index 47643aa..0000000
--- a/Source/Asura.Engine/Graphics/Animation.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "Animation.h"
-
-namespace AsuraEngine
-{
- namespace Graphics
- {
-
- void Animation::OnEnable()
- {
- mSpriteRenderer = mGameObject->GetComponent<SpriteRenderer*>();
- }
-
- void Animation::OnUpdate(uint32 milliseconds)
- {
- if (!mSpriteRenderer)
- return;
- mSpriteRenderer->SetSprite(NULL);
- }
-
- }
-}