newDirection(dir) {
        if (this.direction === dir) return;
        this.direction = dir;
        this.setBounds();
    }
@memberof Tunnel
function to change direction of Tunnel
@param {string} dir - new direction