PacManDuel.Models.Player.GetPlayerName C# (CSharp) 메소드

GetPlayerName() 공개 메소드

public GetPlayerName ( ) : String
리턴 String
        public String GetPlayerName()
        {
            return _playerName;
        }

Usage Example

예제 #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);
 }