protected int calculateHorizontalDirection(int pacManColumn)
    {
        int newDirection;
        int column = getColumn();
        if (column < pacManColumn) {
            newDirection = 1;
        } else if (column > pacManColumn) {
            newDirection = 3;
        } else {
            newDirection = -1;
        }
        return newDirection;
    }