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