public DesignTimeMainViewModel()
 {
     Player1 = new DesignTimePlayerViewModel {
         Nick = "White", Color = FigureColor.White
     };
     Player2 = new DesignTimePlayerViewModel {
         Nick = "Black", Color = FigureColor.Black
     };
     Board = new DesignTimeBoardViewModel();
 }
        public DesignTimeNewGameViewModel()
        {
            Player1 = new DesignTimePlayerViewModel {
                Nick = "Вячеслав"
            };
            Player2 = new DesignTimePlayerViewModel {
                Nick = "Петр"
            };

            for (var i = 0; i < 8; i++)
            {
                Player1.Figures.Add(FigureType.Pawn);
                Player2.Figures.Add(FigureType.Pawn);
            }


            Player1.Figures.Add(FigureType.Rook);
            Player1.Figures.Add(FigureType.Rook);
            Player1.Figures.Add(FigureType.Knight);
            Player1.Figures.Add(FigureType.Knight);
            Player1.Figures.Add(FigureType.Bishop);
            Player1.Figures.Add(FigureType.Bishop);
            Player1.Figures.Add(FigureType.Queen);
            Player1.Figures.Add(FigureType.King);

            Player2.Figures.Add(FigureType.Rook);
            Player2.Figures.Add(FigureType.Rook);
            Player2.Figures.Add(FigureType.Knight);
            Player2.Figures.Add(FigureType.Knight);
            Player2.Figures.Add(FigureType.Bishop);
            Player2.Figures.Add(FigureType.Bishop);
            Player2.Figures.Add(FigureType.Queen);
            Player2.Figures.Add(FigureType.King);


            Figures = new ObservableCollection <FigureType>
            {
                FigureType.Pawn,
                FigureType.Rook,
                FigureType.Knight,
                FigureType.Bishop,
                FigureType.Queen,
                FigureType.King,
            };

            SelectedFigure = Figures.Last();
        }