Esempio n. 1
0
 public DamkaForm(int i_BoardSize, string i_FirstPlayerName, string i_SecondPlayerName, bool i_IsTwoPlayer)
 {
     m_BoardSize        = i_BoardSize;
     m_FirstPlayerName  = i_FirstPlayerName;
     m_SecondPlayerName = i_SecondPlayerName;
     m_IsTwoPlayer      = i_IsTwoPlayer;
     m_Cells            = new ButtonCell[m_BoardSize, m_BoardSize];
     m_LogicGame        = new B18_Ex05_Logic.Game(m_BoardSize, m_FirstPlayerName, m_SecondPlayerName, !m_IsTwoPlayer);
     InitializeComponent();
 }