gamecore/scene: scene should register themselves

This commit is contained in:
Kazhnuz 2019-03-16 15:03:35 +01:00
parent fa92576979
commit 3b77a3c2c1
2 changed files with 2 additions and 2 deletions

View file

@ -28,8 +28,6 @@ function TestScene:new()
TestScene.super.new(self)
self.i = 0
self:register()
end
function TestScene:update(dt)

View file

@ -35,6 +35,8 @@ function Scene:new()
self.assets = Assets()
self.menusystem = MenuSystem()
self.keys = core.input:getKeyList()
self:register()
end
function Scene:register()