Working on some script modules
This commit is contained in:
1 parent
6edcf75a0c
commit
bb29c0edef
28 files changed
+712
-229
No files matched your search
@@ -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