Example #1
0
        public FieldConfig NewCustomGame(FieldConfig fieldConfig, int SizeX, int SizeY, int MineCount)
        {
            var fieldConfigCustom = (FieldConfig)fieldConfig.Clone();

            fieldConfigCustom.SizeX      = SizeX;
            fieldConfigCustom.SizeY      = SizeY;
            fieldConfigCustom.MinesCount = MineCount;
            NewGame(fieldConfigCustom);
            return(fieldConfigCustom);
        }