Change imate to type, remove error message, add server side collisions (they don't work yet), added "proper" world generation

This commit is contained in:
2023-03-10 11:13:54 -08:00
parent c82fbdddbc
commit d424aea7a1
2 changed files with 34 additions and 11 deletions

View File

@ -22,12 +22,12 @@ class vector {
}
class node {
constructor(position, rotation, radius, size, image) {
constructor(position, rotation, radius, size, type) {
this.position = position;
this.rotation = rotation;
this.radius = radius;
this.size = size;
this.image = image;
this.type = type;
nodes.add(this);
}