PacManDuel.Models.Player.GetSymbol C# (CSharp) Method

GetSymbol() public method

public GetSymbol ( ) : char
return char
        public char GetSymbol()
        {
            return _symbol;
        }

Usage Example

コード例 #1
0
ファイル: Game.cs プロジェクト: rohingosling/common_cpp
        private void CreateIterationStateFile(String folderPath)
        {
            var replayFile =
                new StreamWriter(folderPath + System.IO.Path.DirectorySeparatorChar + Properties.Settings.Default.SettingReplayFolder + System.IO.Path.DirectorySeparatorChar + "iteration" +
                                 _iteration + Properties.Settings.Default.SettingStateFileExtension);
            var mazeForFile = new Maze(_maze);

            if (_secondMazePlayer == _currentPlayer.GetSymbol())
            {
                mazeForFile.SwapPlayerSymbols();
            }
            replayFile.Write(mazeForFile.ToFlatFormatString());
            replayFile.Close();
        }
All Usage Examples Of PacManDuel.Models.Player::GetSymbol