diff options
Diffstat (limited to 'Source/Asura.Framework/scene.lua')
-rw-r--r-- | Source/Asura.Framework/scene.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/Asura.Framework/scene.lua b/Source/Asura.Framework/scene.lua index afe6344..0ef41c7 100644 --- a/Source/Asura.Framework/scene.lua +++ b/Source/Asura.Framework/scene.lua @@ -1,8 +1,13 @@ ---[[ -ԭ½ -]] local Scene = Class() +AsuraEngine.Scene = Scene +function Scene.Ctor(self) + self.entities = {} --当前场景的所有entity +end +--获取当前的场景 +function Scene.GetCurrent() + +end return Scene
\ No newline at end of file |