src/core: add an asset manager to the scene object

This commit is contained in:
Kazhnuz 2019-01-28 09:58:42 +01:00
parent a14d31f527
commit 21659cedb7

View file

@ -23,10 +23,13 @@
]]
local Scene = Object:extend()
local Assets = require "core.modules.assets"
function Scene:new()
self.mouse = {}
self.mouse.x, self.mouse.y = core.screen:getMousePosition()
self.assets = Assets()
end
function Scene:register()