AIsOfCatan.DebugAgent.MoveRobber C# (CSharp) Method

MoveRobber() public method

public MoveRobber ( IGameState state ) : int
state IGameState
return int
        public int MoveRobber(IGameState state)
        {
            if (!silent)
                Console.WriteLine(id + ": Move robber");
            return ((GameState)state).Board.GetRobberLocation() == 8 ? 9 : 8;
        }