From 9af261cd204b999e6b2b5a44d5c5eb768f84c49d Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 12 Jul 2017 16:00:51 +0200 Subject: Created Scene class extended SceneManager a little bit to support multiple scenes --- not/World.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'not/World.lua') diff --git a/not/World.lua b/not/World.lua index 8108a8a..65ca59e 100644 --- a/not/World.lua +++ b/not/World.lua @@ -1,9 +1,7 @@ -require "not.Object" - --- `World` -- Used to manage physical world and everything inside it: clouds, platforms, nauts, background etc. -- TODO: Possibly move common parts of `World` and `Menu` to abstract class `Scene`. -World = Object:extends() +World = require "not.Scene":extends() World.world =--[[love.physics.newWorld]]nil World.Nauts =--[[{not.Hero}]]nil -- cgit v1.1