Ejemplo n.º 1
0
        private static string determineModeText(ICounterMode Mode)
        {
            string mode = "Unavilable mode!";

            switch (Mode)
            {
            case ICounterMode.Average:
                mode = "Mean Speed: Average speed of both sabers.";
                break;

            case ICounterMode.Top5Sec:
                mode = "Top: Fastest saber speed in the last 5 seconds.";
                break;

            case ICounterMode.Both:
                mode = "Both: A secondary Counter will be added so both Average and Top will be displayed.";
                break;

            case ICounterMode.SplitAverage:
                mode = "Split Mean: Displays averages for each saber, separately.";
                break;

            case ICounterMode.SplitBoth:
                mode = "Split Both: Displays both metrics, except the Average is split between two sabers.";
                break;

            case ICounterMode.BaseGame:
                mode = "Base Game: Uses the base game counter. Some settings will not apply in this mode.";
                break;

            case ICounterMode.Original:
                mode = "Original: Uses the original display mode, with a white circle bordering a time.";
                break;

            case ICounterMode.Percent:
                mode = "Percent : Displays a simple percent of the completed song. Some settings will not apply in this mode.";
                break;
            }
            return("How should this Counter display data?\n" + mode);
        }
        private static string DetermineModeText(ICounterMode Mode, bool alternateText = false)
        {
            string mode = "Invalid mode!";

            switch (Mode)
            {
            case ICounterMode.Average:
                mode = "Mean Speed: Average speed of both sabers.";
                break;

            case ICounterMode.Top5Sec:
                mode = "Top: Fastest saber speed in the last 5 seconds.";
                break;

            case ICounterMode.Both:
                if (alternateText)
                {
                    mode = "Original: Have Counters+ counter with the Points above the percentage.";
                }
                else
                {
                    mode = "Both: A secondary Counter will be added so both Average and Top Speed will be displayed.";
                }
                break;

            case ICounterMode.SplitAverage:
                if (alternateText)
                {
                    mode = "Split: Updates your rotation speed every second for each saber separately.";
                }
                else
                {
                    mode = "Split Mean: Displays averages for each saber, separately.";
                }
                break;

            case ICounterMode.SplitBoth:
                mode = "Split Both: Displays both metrics, except the Average is split between two sabers.";
                break;

            case ICounterMode.BaseGame:
                mode = "Base Game: Uses the base game counter.\n<color=#FF0000>Some settings will not apply in this mode.</color>";
                break;

            case ICounterMode.Original:
                if (alternateText)
                {
                    mode = "Original: Updates your average rotation speed every second.";
                }
                else
                {
                    mode = "Original: Uses the Counters+ counter.";
                }
                break;

            case ICounterMode.Percent:
                mode = "Percent: Displays a simple percent of the completed song.\n<color=#FF0000>Some settings will not apply in this mode.</color>";
                break;

            case ICounterMode.BaseWithOutPoints:
                mode = "Base No Points: Uses the base game counter, except the Points will be under the combo.\n<color=#FF0000>This might conflict with counters positioned below the combo.</color>";
                break;

            case ICounterMode.LeavePoints:
                mode = "No Points: Uses Counters+ counter, except the Points will be under the combo.\n<color=#FF0000>This might conflict with counters positioned below the combo.</color>";
                break;

            case ICounterMode.ScoreOnly:
                mode = "Score Only: Uses Counters+ counter, and completely removes the Points.";
                break;

            case ICounterMode.Highest:
                mode = "Highest: Displays your highest rotation speed throughout a song.";
                break;
            }
            return("How should this Counter display data?\n" + mode);
        }