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