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