Working on some script modules
This commit is contained in:
@@ -5,6 +5,9 @@ function CubeEntity() {
|
||||
|
||||
this.add(MESH);
|
||||
this.add(MATERIAL);
|
||||
|
||||
this.cubeMesh = Mesh.createCube();
|
||||
this.mesh.mesh = this.cubeMesh;
|
||||
}
|
||||
|
||||
CubeEntity.prototype = Object.create(OverworldEntity.prototype);
|
||||
|
||||
Reference in New Issue
Block a user