Beispiel #1
0
        public MainWindowViewModelSampleData()
        {
            BoardViewModel             = new BoardViewModelSampleData();
            BoardPlacementViewModel    = new BoardPlacementViewModelSampleData();
            LanguageSelectionViewModel = new LanguageSelectionViewModelSampleData();

            DebugMessages = new ObservableCollection <string>
            {
                "blubb1",
                "blubb2",
                "blubb3",
                "blubb4",
                "blubb5"
            };

            GameProgress = new ObservableCollection <string>
            {
                "1. e2 e8",
                "2. e3 e7"
            };

            TopPlayerName     = "PlayerOben";
            TopPlayerRestTime = "36";

            TopPlayerWallCountLeft    = 10;
            BottomPlayerWallCountLeft = 9;
            MovesLeft = "97";

            DllPathInput = "blubb.dll";

            GameStatus = GameStatus.Active;

            IsAutoScrollDebugMsgActive = true;
            IsAutoScrollProgressActive = true;

            IsProgressSectionExpanded = true;
            IsDebugSectionExpanded    = false;

            IsDisabledOverlayVisible      = true;
            PreventWindowClosingToAskUser = false;

            BrowseForBotButtonToolTipCaption          = "bot dll laden";
            StartGameButtonToolTipCaption             = "Start";
            StartWithProgressGameButtonToolTipCaption = "Start";
            OpenInfoButtonToolTipCaption    = "Info";
            BotNameLabelCaption             = "BotName";
            MaximalThinkingTimeLabelCaption = "max. Rechenzeit";
            WallsLeftLabelCaption           = "Walls";
            ProgressCaption = "Spielverlauf";
            AutoScrollDownCheckBoxCaption = "Automatisch scrollen";
            DebugCaption                    = "Debug";
            CapitulateButtonCaption         = "Kapitulieren";
            HeaderCaptionPlayer             = "Spieler";
            DumpDebugToFileButtonCaption    = "Speichern";
            DumpProgressToFileButtonCaption = "Speichern";
            MovesLeftLabelCaption           = "Verfügbare Züge";
        }
Beispiel #2
0
        public MainWindowViewModelSampleData()
        {
            BoardViewModel   = new BoardViewModelSampleData();
            ProgressFilePath = "blubb.txt";
            MoveIndex        = 5;
            MaxMoveIndex     = 15;
            IsReplayLoaded   = true;

            ProgressRows = new ObservableCollection <ProgressRow>
            {
                new ProgressRow("1. e2 e8"),
                new ProgressRow("1. e3 e7"),
                new ProgressRow("1. e4 e6")
            };
        }