diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Asura.Framework/AI/StateMachine.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/Class.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/GameObject.lua | 55 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/Animator.lua | 10 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/Mesh2DRenderer.lua | 5 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/ParticleSystem.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/SpriteRenderer.lua | 7 | ||||
-rw-r--r-- | Source/Asura.Framework/Prefab.lua | 5 | ||||
-rw-r--r-- | Source/Asura.Framework/Scene.lua | 5 | ||||
-rw-r--r-- | Source/Asura.Runner/AE_Compressor.cpp | 17 | ||||
-rw-r--r-- | Source/Asura.Runner/main.cpp | 2 |
11 files changed, 96 insertions, 19 deletions
diff --git a/Source/Asura.Framework/AI/StateMachine.lua b/Source/Asura.Framework/AI/StateMachine.lua new file mode 100644 index 0000000..58012ca --- /dev/null +++ b/Source/Asura.Framework/AI/StateMachine.lua @@ -0,0 +1,3 @@ +local StateMachine = Class() + +return StateMachine
\ No newline at end of file diff --git a/Source/Asura.Framework/Class.lua b/Source/Asura.Framework/Class.lua new file mode 100644 index 0000000..78c577c --- /dev/null +++ b/Source/Asura.Framework/Class.lua @@ -0,0 +1,3 @@ +function Class() + +end
\ No newline at end of file diff --git a/Source/Asura.Framework/GameObject.lua b/Source/Asura.Framework/GameObject.lua index e69de29..358ba14 100644 --- a/Source/Asura.Framework/GameObject.lua +++ b/Source/Asura.Framework/GameObject.lua @@ -0,0 +1,55 @@ +local GameObject = Class() + +function GameObject:OnEnable() + +end + +function GameObject:OnEvent(e) + +end + +function GameObject:OnUpdate() + +end + +function GameObject:OnRender() + +end + +function GameObject:OnDisable() + +end + +function GameObject:GetTrasform() + +end + +function GameObject:GetPosition() + +end + +function GameObject:GetScale() + +end + +function GameObject:GetRotation() + +end + +function GameObject:SetTrasform(transform) + +end + +function GameObject:SetPosition() + +end + +function GameObject:SetScale() + +end + +function GameObject:SetRotation() + +end + +return GameObject
\ No newline at end of file diff --git a/Source/Asura.Framework/Graphics/Animator.lua b/Source/Asura.Framework/Graphics/Animator.lua index 0f37c8b..eb33e49 100644 --- a/Source/Asura.Framework/Graphics/Animator.lua +++ b/Source/Asura.Framework/Graphics/Animator.lua @@ -1,7 +1,15 @@ local Animator = Class() -Animator.animation = AsuraEngine.Type.Animation +Animator.animation = AsuraEngine.Animation.None +local animation = AsuraEngine.Animation.New() +function Animator:OnUpdate(dt) + +end + +function Animator:OnRender() + +end return Animator
\ No newline at end of file diff --git a/Source/Asura.Framework/Graphics/Mesh2DRenderer.lua b/Source/Asura.Framework/Graphics/Mesh2DRenderer.lua index e69de29..01f0d90 100644 --- a/Source/Asura.Framework/Graphics/Mesh2DRenderer.lua +++ b/Source/Asura.Framework/Graphics/Mesh2DRenderer.lua @@ -0,0 +1,5 @@ +local Mesh2DRenderer = Class() + + + +return Mesh2DRenderer
\ No newline at end of file diff --git a/Source/Asura.Framework/Graphics/ParticleSystem.lua b/Source/Asura.Framework/Graphics/ParticleSystem.lua index e69de29..466d622 100644 --- a/Source/Asura.Framework/Graphics/ParticleSystem.lua +++ b/Source/Asura.Framework/Graphics/ParticleSystem.lua @@ -0,0 +1,3 @@ +--ϵͳ + +local ParticleSystem diff --git a/Source/Asura.Framework/Graphics/SpriteRenderer.lua b/Source/Asura.Framework/Graphics/SpriteRenderer.lua index e69de29..79177ba 100644 --- a/Source/Asura.Framework/Graphics/SpriteRenderer.lua +++ b/Source/Asura.Framework/Graphics/SpriteRenderer.lua @@ -0,0 +1,7 @@ +local SpriteRenderer = Class() + +function SpriteRenderer:OnRender() + +end + +return SpriteRenderer
\ No newline at end of file diff --git a/Source/Asura.Framework/Prefab.lua b/Source/Asura.Framework/Prefab.lua new file mode 100644 index 0000000..f03ed1d --- /dev/null +++ b/Source/Asura.Framework/Prefab.lua @@ -0,0 +1,5 @@ +local Prefab = Class() + + + +return Prefab
\ No newline at end of file diff --git a/Source/Asura.Framework/Scene.lua b/Source/Asura.Framework/Scene.lua index e69de29..1c9fd16 100644 --- a/Source/Asura.Framework/Scene.lua +++ b/Source/Asura.Framework/Scene.lua @@ -0,0 +1,5 @@ +local Scene = Class() + + + +return Scene
\ No newline at end of file diff --git a/Source/Asura.Runner/AE_Compressor.cpp b/Source/Asura.Runner/AE_Compressor.cpp deleted file mode 100644 index 71fb839..0000000 --- a/Source/Asura.Runner/AE_Compressor.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#ifndef __AE_COMPRESSOR_H__ -#define __AE_COMPRESSOR_H__ - -namespace AsuraEngine -{ - namespace Runner - { - - class Compressor - { - - }; - - } -} - -#endif
\ No newline at end of file diff --git a/Source/Asura.Runner/main.cpp b/Source/Asura.Runner/main.cpp index 08b4c0b..1e71d40 100644 --- a/Source/Asura.Runner/main.cpp +++ b/Source/Asura.Runner/main.cpp @@ -1,4 +1,4 @@ -// ϷᱻһļΪgame.asurunnerȡgame.asuݣϷ +// ϷᱻһԴļrunnerȡݣϷ int main() { |