예제 #1
0
 public User(string i_Playername, int i_Number, eSymbols i_Symb, eSymbols i_KingSymb, GameDesk.ePositionOnDesk i_Position)
 {
     r_Name         = i_Playername;
     r_PlayerNumber = i_Number;
     r_Symbol       = i_Symb;
     r_SymbolKing   = i_KingSymb;
     r_Position     = i_Position;
 }
예제 #2
0
 public ComputerDummy(string i_Name)
 {
     r_Name         = i_Name;
     r_PlayerNumber = 2;
     r_Symbol       = eSymbols.Player2;
     r_SymbolKing   = eSymbols.Player2King;
     r_Position     = GameDesk.ePositionOnDesk.UP;
     m_Rand         = new Random();
     m_LegalMoves   = new List <Move>();
     m_LastMove     = new Move();
 }