diff options
author | Aki <nthirtyone@gmail.com> | 2017-06-27 09:05:16 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-06-27 09:05:16 +0200 |
commit | ae8ce1a11ca02297ff9fe05b3146c620a2485975 (patch) | |
tree | a18c46b9a9bed6ee56083082f2a2d41b74dce22a /not/Menu.lua | |
parent | baf04a055dbc66b80c29a406907a0a595ac55f00 (diff) | |
download | roflnauts-ae8ce1a11ca02297ff9fe05b3146c620a2485975.zip roflnauts-ae8ce1a11ca02297ff9fe05b3146c620a2485975.tar.gz roflnauts-ae8ce1a11ca02297ff9fe05b3146c620a2485975.tar.bz2 |
Scenes now use MusicPlayer
Diffstat (limited to 'not/Menu.lua')
-rw-r--r-- | not/Menu.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/not/Menu.lua b/not/Menu.lua index 8ef1861..cd6d963 100644 --- a/not/Menu.lua +++ b/not/Menu.lua @@ -38,7 +38,7 @@ Menu = { Menu.__index = Menu -require "not.Music" +require "not.MusicPlayer" function Menu:new (name) local o = setmetatable({}, self) @@ -54,7 +54,7 @@ function Menu:new (name) end function Menu:init (name) - self.music = Music:new("menu.ogg") + self.music = MusicPlayer("menu.ogg") self:open(name) end @@ -141,4 +141,4 @@ function Menu:controlreleased (set, action, key) for _,element in pairs(self.elements) do element:controlreleased(set, action, key) end -end
\ No newline at end of file +end |