local ParentWorld = require "game.modules.subgames.world.parent" local CBSWorld = ParentWorld:extend() local Map = require "scenes.battles.world.map" function CBSWorld:new(scene, mapname) CBSWorld.super.new(self, scene, "battle", mapname) self.mapname = mapname end function CBSWorld:createMapController() Map(self, self.mapname) self.cameras:lockY(10) end return CBSWorld