summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/scripts/path/path_calculator.lua
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-01-31 09:06:15 +0800
committerchai <chaifix@163.com>2019-01-31 09:06:15 +0800
commitc581dfbf1e849f393861d15e82aa6446c0c1c310 (patch)
tree2df779ba98acdd04a4b52f6bff0de143dfba4600 /Source/Asura.Framework/scripts/path/path_calculator.lua
parentfc1713e9df3ae8db6e612610023e7bd5f6b6f5fe (diff)
*misc
Diffstat (limited to 'Source/Asura.Framework/scripts/path/path_calculator.lua')
-rw-r--r--Source/Asura.Framework/scripts/path/path_calculator.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/Asura.Framework/scripts/path/path_calculator.lua b/Source/Asura.Framework/scripts/path/path_calculator.lua
new file mode 100644
index 0000000..1a564b8
--- /dev/null
+++ b/Source/Asura.Framework/scripts/path/path_calculator.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