diff options
author | Aki <nthirtyone@gmail.com> | 2017-07-12 09:04:23 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-07-12 09:04:23 +0200 |
commit | 47d4e1c229adfffb70b3c984d00049bcebcfc183 (patch) | |
tree | ab4b34ade5b5cc19d122c4f396e413b61aacbf04 /not/SceneManager.lua | |
parent | 4e69182a6d36966847430f01b440a9cdac0e4cdc (diff) | |
download | roflnauts-47d4e1c229adfffb70b3c984d00049bcebcfc183.zip roflnauts-47d4e1c229adfffb70b3c984d00049bcebcfc183.tar.gz roflnauts-47d4e1c229adfffb70b3c984d00049bcebcfc183.tar.bz2 |
All music playing moved to single instance of MusicPlayer
Diffstat (limited to 'not/SceneManager.lua')
-rw-r--r-- | not/SceneManager.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/not/SceneManager.lua b/not/SceneManager.lua index 0a6cb4b..755548a 100644 --- a/not/SceneManager.lua +++ b/not/SceneManager.lua @@ -2,6 +2,8 @@ -- This is work for scene manager -- TODO: Create SceneManager or similar class. Scene = nil +musicPlayer = require("not.MusicPlayer")() + function changeScene (scene) if Scene ~= nil then Scene:delete() |