Beispiel #1
0
    private static void ParsePause(string[] tokens)
    {
        if (tokens[0] != "pause")
        {
            throw new FormatException();
        }

        float pauseDuration = float.Parse(tokens[1]);

        currentWave.AddPauseSubWave(pauseDuration);
    }