コード例 #1
0
 public Player()
 {
     m_playerName     = ConsoleUI.AskForPlayerName();
     m_playerType     = e_PlayerType.Human;
     m_playerPosition = e_PlayerPosition.Bottom;
     m_playerPoints   = 0;
 }
コード例 #2
0
 public Player(string i_inputName)
 {
     m_playerName     = i_inputName;
     m_playerType     = e_PlayerType.Computer;
     m_playerPosition = e_PlayerPosition.Top;
     m_playerPoints   = 0;
 }
コード例 #3
0
ファイル: Player.cs プロジェクト: TamarAvidor/Checkers
 public Player(string i_inputName)
 {
     m_playerName     = i_inputName;
     m_playerType     = e_PlayerType.Human;
     m_playerPosition = e_PlayerPosition.Bottom;
     m_playerPoints   = 0;
 }