GetPlayerName() public method

public GetPlayerName ( ) : String
return String
Beispiel #1
0
 private Enums.GameOutcome ProcessIllegalMove(StreamWriter logFile, Enums.GameOutcome gameOutcome, ref Player winner)
 {
     logFile.WriteLine("[GAME] : Illegal move made by " + _currentPlayer.GetPlayerName());
     gameOutcome = Enums.GameOutcome.IllegalMazeState;
     winner      = _playerPool.GetNextPlayer();
     return(gameOutcome);
 }