NeutronLoved/scenes.lua

13 lines
255 B
Lua

local scenes = {}
function scenes:main(game)
game.gameloop = {}
local cellsize = 44
local x = (game.WIDTH-cellsize*5)/2
local y = (game.HEIGHT-cellsize*5)/2
local grid = game.objects.grid:new(game,x,y,cellsize)
game:summon(grid)
end
return scenes