fix(world): propagate map type
This commit is contained in:
parent
fb98ada7eb
commit
029ede636b
2 changed files with 4 additions and 4 deletions
|
@ -29,8 +29,8 @@ local World2D = BaseWorld:extend()
|
||||||
local Bump = require(cwd .. "libs.bump")
|
local Bump = require(cwd .. "libs.bump")
|
||||||
local CameraSystem = require(cwd .. "camera")
|
local CameraSystem = require(cwd .. "camera")
|
||||||
|
|
||||||
function World2D:new(scene, actorlist, mapfile)
|
function World2D:new(scene, actorlist, mapfile, maptype)
|
||||||
World2D.super.new(self, scene, actorlist, mapfile)
|
World2D.super.new(self, scene, actorlist, mapfile, maptype)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ACTORS FUNCTIONS
|
-- ACTORS FUNCTIONS
|
||||||
|
|
|
@ -33,8 +33,8 @@ local CameraSystem = require(cwd .. "camera")
|
||||||
|
|
||||||
local PADDING_VALUE = 10/100
|
local PADDING_VALUE = 10/100
|
||||||
|
|
||||||
function World3D:new(scene, actorlist, mapfile)
|
function World3D:new(scene, actorlist, mapfile, maptype)
|
||||||
World3D.super.new(self, scene, actorlist, mapfile)
|
World3D.super.new(self, scene, actorlist, mapfile, maptype)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- ACTORS FUNCTIONS
|
-- ACTORS FUNCTIONS
|
||||||
|
|
Loading…
Reference in a new issue