public Player(PlayerConfiguration i_PlayerConfiguration, ePlayerTitles i_Title) { m_Score = 0; m_Soldiers = new List <Soldier>(); m_Title = i_Title; m_Type = i_PlayerConfiguration.PlayerType; m_Name = i_PlayerConfiguration.PlayerName; m_PlayerSign = GlobalDefines.GetSoldierSign(i_Title, eSoldierTypes.Regular); }
public GameBoardForm(Player i_Player1, Player i_Player2, Board i_Board) { InitializeComponent(); m_Player1Name = i_Player1.Name; m_Player2Name = i_Player2.Name; m_Player2Type = i_Player2.Type; m_Board = i_Board; m_Board.Create(); m_GameManager = new GameManager(i_Player1, i_Player2); m_GameManager.ComputerPlayed += m_GameManager_ComputerPlayed; setFormSize(); createButtons(); createScoreLabel(i_Player1, i_Player2); }
public Player(ePlayerTypes i_PlayerType, Coin.eCoinColor i_PlayerColorOfCoin) { m_PlayerType = i_PlayerType; m_PlayerColorOfCoin = i_PlayerColorOfCoin; }