diff options
author | Aki <nthirtyone@gmail.com> | 2017-07-12 16:00:51 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-07-12 16:00:51 +0200 |
commit | 9af261cd204b999e6b2b5a44d5c5eb768f84c49d (patch) | |
tree | b5465cd344f01329c0d027b5345a23e15e1e2bc7 /not/Menu.lua | |
parent | 6c6e2fe6ec84ec57f6336fa9d6e4136c0e1c9513 (diff) | |
download | roflnauts-9af261cd204b999e6b2b5a44d5c5eb768f84c49d.zip roflnauts-9af261cd204b999e6b2b5a44d5c5eb768f84c49d.tar.gz roflnauts-9af261cd204b999e6b2b5a44d5c5eb768f84c49d.tar.bz2 |
Created Scene class
extended SceneManager a little bit to support multiple scenes
Diffstat (limited to 'not/Menu.lua')
-rw-r--r-- | not/Menu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Menu.lua b/not/Menu.lua index 1688166..ea47993 100644 --- a/not/Menu.lua +++ b/not/Menu.lua @@ -1,7 +1,7 @@ --- `Menu` -- It creates single screen of a menu -- I do know that model I used here and in `World` loading configuration files is not flawless but I did not want to rewrite `World`s one but wanted to keep things similar at least in project scope. -Menu = require "not.Object":extends() +Menu = require "not.Scene":extends() Menu.scale = getScale() Menu.elements = --[[{not.Element}]]nil |