B:BD[
5.7399] → [
2.982:1582]
const childProps = {
delta: 0,
args: {
pointNodeTexture: this.state.pointNodeTexture.get(),
z: 0,
},
updaters: props.updaters,
position: props.appSize.multiply(0.5),
zLevelGen: new ZLevelGenFactory({}).create({ seed: props.gameState.worldGen.seed, z: 0 }),
selectedPointNode: props.gameState.playerUI.selectedPointNode,
allocatedPointNodeSubset: props.gameState.playerSave.allocatedPointNodeSet,
};
this.zLevel = new ZLevelComponent(childProps);
this.actionStage.addChild(this.zLevel.container);
// const childProps = {
// delta: 0,
// args: {
// pointNodeTexture: this.state.pointNodeTexture.get(),
// z: 0,
// },
// updaters: props.updaters,
// position: props.appSize.multiply(0.5),
// zLevelGen: new ZLevelGenFactory({}).create({ seed: props.gameState.worldGen.seed, z: 0 }),
// selectedPointNode: props.gameState.playerUI.selectedPointNode,
// allocatedPointNodeSubset: props.gameState.playerSave.allocatedPointNodeSet,
// };
// this.zLevel = new ZLevelComponent(childProps);
// this.actionStage.addChild(this.zLevel.container);