Map Base
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
var CubeEntity = include('entities/CubeEntity.js');
|
||||
|
||||
function TestChunk300(x, y, z) {
|
||||
MapChunk.call(this, x, y, z);
|
||||
|
||||
this.cube = new CubeEntity();
|
||||
this.cube.position.position = new Vec3(48, 0, 0);
|
||||
}
|
||||
|
||||
TestChunk300.prototype = Object.create(MapChunk.prototype);
|
||||
TestChunk300.prototype.constructor = TestChunk300;
|
||||
|
||||
TestChunk300.prototype.dispose = function() {
|
||||
this.cube.dispose();
|
||||
};
|
||||
|
||||
module = TestChunk300;
|
||||
Reference in New Issue
Block a user