public GameScene(ISceneLoader sceneLoader) { sceneLoader.loadScene(); this.floorLayer = sceneLoader.getFloorLayer(); this.obstacleLayer = sceneLoader.getObstacleLayer(); this.roleLayer = sceneLoader.getRoleLayer(); this.shelterLayer = sceneLoader.getShelterLayer(); this.boxLayer = sceneLoader.getBoxLayer(); this.bombLayer = sceneLoader.getBombLayer(); this.backgroundColor = sceneLoader.getBackgroundColor(); this.tileWidth = sceneLoader.getTileWidth(); this.tileHeight = sceneLoader.getTileHeight() ; this.width = sceneLoader.getWidth(); this.height = sceneLoader.getHeight(); }