18 lines
414 B
JavaScript
18 lines
414 B
JavaScript
var CubeEntity = include('entities/CubeEntity.js');
|
|
|
|
function TestChunk200(x, y, z) {
|
|
MapChunk.call(this, x, y, z);
|
|
|
|
this.cube = new CubeEntity();
|
|
this.cube.position.position = new Vec3(32, 0, 0);
|
|
}
|
|
|
|
TestChunk200.prototype = Object.create(MapChunk.prototype);
|
|
TestChunk200.prototype.constructor = TestChunk200;
|
|
|
|
TestChunk200.prototype.dispose = function() {
|
|
this.cube.dispose();
|
|
};
|
|
|
|
module = TestChunk200;
|