diff options
Diffstat (limited to 'not/SceneManager.lua')
-rw-r--r-- | not/SceneManager.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/not/SceneManager.lua b/not/SceneManager.lua new file mode 100644 index 0000000..0a6cb4b --- /dev/null +++ b/not/SceneManager.lua @@ -0,0 +1,10 @@ +-- Pretend you didn't see this +-- This is work for scene manager +-- TODO: Create SceneManager or similar class. +Scene = nil +function changeScene (scene) + if Scene ~= nil then + Scene:delete() + end + Scene = scene +end |