summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/path
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-22 20:06:22 +0800
committerchai <chaifix@163.com>2019-01-22 20:06:22 +0800
commitc1330b1ea3525eec2d09b070167df563f3917ff9 (patch)
tree8acdc9d2fa8b6dd027ed8930314320864d78229e /Source/Asura.Framework/path
parent90b11fbb0e4c578bf507370e102d6a5ed30ba31e (diff)
*修改文件名大小写
Diffstat (limited to 'Source/Asura.Framework/path')
-rw-r--r--Source/Asura.Framework/path/path.lua13
-rw-r--r--Source/Asura.Framework/path/pathcalculator.lua12
-rw-r--r--Source/Asura.Framework/path/pathmanager.lua0
3 files changed, 25 insertions, 0 deletions
diff --git a/Source/Asura.Framework/path/path.lua b/Source/Asura.Framework/path/path.lua
new file mode 100644
index 0000000..3b6079d
--- /dev/null
+++ b/Source/Asura.Framework/path/path.lua
@@ -0,0 +1,13 @@
+local Path = AsuraEngine.Asset.New("path")
+
+function Path:Ctor()
+
+end
+
+-- ToAssetѶpathתΪ.assetļʽ
+function Path.ToAsset(path)
+ local builder = AsuraEngine.AssetBuilder.Get()
+
+end
+
+return Path \ No newline at end of file
diff --git a/Source/Asura.Framework/path/pathcalculator.lua b/Source/Asura.Framework/path/pathcalculator.lua
new file mode 100644
index 0000000..1a564b8
--- /dev/null
+++ b/Source/Asura.Framework/path/pathcalculator.lua
@@ -0,0 +1,12 @@
+--[[
+ڱ༭componentsб
+]]
+local PathCalculator = AsuraEngine.Component.New("PathCalculator")
+
+PathCalculator.path = AsuraEngine.Asset.Type("path", "·")
+
+function PathCalculator:ctor(path)
+ self.path = path
+end
+
+return PathCalculator \ No newline at end of file
diff --git a/Source/Asura.Framework/path/pathmanager.lua b/Source/Asura.Framework/path/pathmanager.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/path/pathmanager.lua