summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Framework/filesystem')
-rw-r--r--Source/Asura.Framework/filesystem/animationloader.lua11
-rw-r--r--Source/Asura.Framework/filesystem/gameobjectloader.lua0
-rw-r--r--Source/Asura.Framework/filesystem/loader.lua22
-rw-r--r--Source/Asura.Framework/filesystem/materialloader.lua10
-rw-r--r--Source/Asura.Framework/filesystem/pathloader.lua11
-rw-r--r--Source/Asura.Framework/filesystem/sceneloader.lua0
6 files changed, 54 insertions, 0 deletions
diff --git a/Source/Asura.Framework/filesystem/animationloader.lua b/Source/Asura.Framework/filesystem/animationloader.lua
new file mode 100644
index 0000000..f1dee29
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/animationloader.lua
@@ -0,0 +1,11 @@
+local AnimationLoader = AsuraEngine.Loader.New("animation")
+local AnimationManager = require "AnimationManager"
+local Animation = require "Animation"
+
+function AnimationLoader.Load(asset)
+
+ local animation = AsuraEngine.Class()
+
+end
+
+return AnimationLoader \ No newline at end of file
diff --git a/Source/Asura.Framework/filesystem/gameobjectloader.lua b/Source/Asura.Framework/filesystem/gameobjectloader.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/gameobjectloader.lua
diff --git a/Source/Asura.Framework/filesystem/loader.lua b/Source/Asura.Framework/filesystem/loader.lua
new file mode 100644
index 0000000..fbbd68a
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/loader.lua
@@ -0,0 +1,22 @@
+--[[
+࣬ԶԴ̳ͨдർ롣ԶԴıǷ
+<asset>
+ <extern>./resource.maptile</extern>
+</asset>
+ָ˵impoter֮ԶԴͨз:
+<maptile>
+ <extern>./resource.maptile</extern>
+</maptile>
+ʹöӦڲԴ͵importerԴ
+
+]]
+
+local importer = Class()
+
+function importer:InnerResource( data )
+
+
+
+end
+
+return importer \ No newline at end of file
diff --git a/Source/Asura.Framework/filesystem/materialloader.lua b/Source/Asura.Framework/filesystem/materialloader.lua
new file mode 100644
index 0000000..8ecfa51
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/materialloader.lua
@@ -0,0 +1,10 @@
+local MaterialLoader = AsuraEngine.Loader.New("material")
+local MaterialManager = require "MaterialManager"
+
+function MaterialLoader.Load(mat)
+
+
+
+end
+
+return MaterialLoader \ No newline at end of file
diff --git a/Source/Asura.Framework/filesystem/pathloader.lua b/Source/Asura.Framework/filesystem/pathloader.lua
new file mode 100644
index 0000000..b9112df
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/pathloader.lua
@@ -0,0 +1,11 @@
+local PathLoader = AsuraEngine.Loader.New("path")
+local PathManager = require "Path/PathManager"
+
+function PathLoader.Load(asset)
+ if asset.type ~= "path" then
+ return nil
+ end
+
+end
+
+return Path \ No newline at end of file
diff --git a/Source/Asura.Framework/filesystem/sceneloader.lua b/Source/Asura.Framework/filesystem/sceneloader.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/sceneloader.lua