示例#1
0
 public ReversiGameMenu()
 {
     Application.EnableVisualStyles();
     m_BlackPlayer = new Player();
     m_SettingsForm = new GameSettingsForm();
     m_SettingsForm.ShowDialog();
     m_BoardSize = m_SettingsForm.BoardSize + 2;
     m_WhitePlayer = new Player(m_SettingsForm.PlayerType, eKindOfCell.White);
     m_ReversiGameManager = new ReversiGameManager(m_BlackPlayer, m_WhitePlayer, m_BoardSize);
 }
示例#2
0
 public ReversiGameMenu()
 {
     Application.EnableVisualStyles();
     m_BlackPlayer  = new Player();
     m_SettingsForm = new GameSettingsForm();
     m_SettingsForm.ShowDialog();
     m_BoardSize          = m_SettingsForm.BoardSize + 2;
     m_WhitePlayer        = new Player(m_SettingsForm.PlayerType, eKindOfCell.White);
     m_ReversiGameManager = new ReversiGameManager(m_BlackPlayer, m_WhitePlayer, m_BoardSize);
 }