const vehicle = {
    name: "vehicle",
    create(originX, originY, originZ) {
        const obj = Object.create(this);

        obj.x = originX;
        obj.y = originY;
        obj.z = originZ;

        return obj;
    },

    move(x, y, z) {
        this.x = x;
        this.y = y;
        this.z = z;
    },
};