public Agent( GammonInterface game ) { m_GUI = new AgentGUI( "Agent " + (++m_InstanceCounter) ); m_Rand = new Random(); m_BgGame = game; m_MoveRepresentationList = new MoveRepresentationList(); if ( m_MoveRepresentationGenerator == null ) m_MoveRepresentationGenerator = new MoveRepresentationGenerator( game ); LoadPlugins(); OutputMovesAndScore = true; }
public Agent(GammonInterface game) { m_GUI = new AgentGUI("Agent " + (++m_InstanceCounter)); m_Rand = new Random(); m_BgGame = game; m_MoveRepresentationList = new MoveRepresentationList(); if (m_MoveRepresentationGenerator == null) { m_MoveRepresentationGenerator = new MoveRepresentationGenerator(game); } LoadPlugins(); OutputMovesAndScore = true; }