var CubeEntity = include('entities/CubeEntity.js'); function TestChunk000(x, y, z) { MapChunk.call(this, x, y, z); this.cube = new CubeEntity(); this.cube.position.position = new Vec3(0, 0, 0); } TestChunk000.prototype = Object.create(MapChunk.prototype); TestChunk000.prototype.constructor = TestChunk000; TestChunk000.prototype.dispose = function() { this.cube.dispose(); }; module = TestChunk000;