BattleShip.FileManager.ReadCurrentPlayer C# (CSharp) Метод

ReadCurrentPlayer() публичный Метод

public ReadCurrentPlayer ( ) : string
Результат string
        public string ReadCurrentPlayer()
        {
            // Selectionne le current player
            XmlNode nodejoueur1 = doc.DocumentElement.SelectSingleNode("/NAV/CURRENT_PLAYER/PLAYER");
            this.currentplayer = nodejoueur1.LastChild.Value;
            return this.currentplayer;
        }