diff options
author | chai <chaifix@163.com> | 2019-01-29 21:07:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-29 21:07:22 +0800 |
commit | 8d6eb73fcd8d42ced53fc4178d4f4fc35c63abf3 (patch) | |
tree | dc4b7503629699b984ee22988e6e163e9c6a1063 /Source/Asura.Framework/graphics/image.lua | |
parent | 6756fad2ec987b48f9e2afb967d9ba65f117f9b9 (diff) |
*misc
Diffstat (limited to 'Source/Asura.Framework/graphics/image.lua')
-rw-r--r-- | Source/Asura.Framework/graphics/image.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Asura.Framework/graphics/image.lua b/Source/Asura.Framework/graphics/image.lua index be55dbd..ae91466 100644 --- a/Source/Asura.Framework/graphics/image.lua +++ b/Source/Asura.Framework/graphics/image.lua @@ -1,6 +1,7 @@ -- 图片资源 -local Image = AsuraEngine.Asset.Sub("Image") -AsuraEngine.Image = Image +AsuraEngine.Image = AsuraEngine.Asset.Sub("Image") + +local Image = AsuraEngine.Image function Image.Ctor(self, path) local simImage = AsuraEngine.SimImage.New(path) |