diff options
author | chai <chaifix@163.com> | 2019-01-20 19:42:03 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-20 19:42:03 +0800 |
commit | 0c65330f29d214cdfd810e83096669c5f2c20bee (patch) | |
tree | 28ce1bb02e29e18413e1ca5f18bba9a6e4bfc115 /Source/Asura.Framework/Path | |
parent | d570df7decd9a4f19c66b2d2d57a54652f0f9b7e (diff) |
*misc
Diffstat (limited to 'Source/Asura.Framework/Path')
-rw-r--r-- | Source/Asura.Framework/Path/Path.lua | 13 | ||||
-rw-r--r-- | Source/Asura.Framework/Path/PathCalculator.lua | 12 | ||||
-rw-r--r-- | Source/Asura.Framework/Path/PathManager.lua | 0 |
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 |