removed junk
This commit is contained in:
parent
eb37486bc2
commit
82c9d8374a
@ -1,37 +0,0 @@
|
|||||||
import * as PIXI from "../../pixi/pixi.mjs";
|
|
||||||
import { Vault } from "../Utils/DataTypes.utils";
|
|
||||||
|
|
||||||
export function createWorldChunkContainer() {
|
|
||||||
let chunk = new PIXI.Container();
|
|
||||||
let terrainLayer = new PIXI.Container();
|
|
||||||
let vegetationLayer = new PIXI.Container();
|
|
||||||
let buildingsLayer = new PIXI.Container();
|
|
||||||
// let NPCLayer = new PIXI.Container();
|
|
||||||
chunk.addChild(terrainLayer);
|
|
||||||
chunk.addChild(vegetationLayer);
|
|
||||||
chunk.addChild(buildingsLayer);
|
|
||||||
// chunk.addChild(NPCLayer);
|
|
||||||
return chunk;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @param {PIXI.Container} chunk
|
|
||||||
* @param {PIXI.Container} terrainLayer
|
|
||||||
* @param {PIXI.Container} vegetationLayer
|
|
||||||
* @param {PIXI.Container} buildingsLayer
|
|
||||||
* @param {Vault} terrainObjectsVault
|
|
||||||
* @param {Vault} vegetationObjectsVault
|
|
||||||
* @param {Vault} buildingsObjectsVault
|
|
||||||
*/
|
|
||||||
export class WorldChunk {
|
|
||||||
constructor(chunk, terrainLayer, vegetationLayer, buildingsLayer, terrainObjectsVault, vegetationObjectsVault, buildingsObjectsVault) {
|
|
||||||
this.chunk = chunk;
|
|
||||||
this.terrainLayer = terrainLayer;
|
|
||||||
this.vegetationLayer = vegetationLayer;
|
|
||||||
this.buildingsLayer = buildingsLayer;
|
|
||||||
this.terrainObjectsVault = terrainObjectsVault;
|
|
||||||
this.vegetationObjectsVault = vegetationObjectsVault;
|
|
||||||
this.buildingsObjectsVault = buildingsObjectsVault;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user