Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }