newDirection(dir) {
        if (this.direction === dir) return;
        // Leave this for now
        if (this.directionFixed && this.orientationFixed) return;
        if (this.directionFixed) {
            this.newOrientation(dir);
            return; // Should it return ?
        }

        // if (obj.direction === undefined) return;
        this.direction = dir;
        for (let i = 0; i < this.nodeList.length; i++) {
            this.nodeList[i].refresh();
        }
    }
method to change direction
OVERRIDE WITH CAUTION
@param {string} dir - new direction