Пример #1
0
 private void ShowUserFight(Dot place, Status status)
 {
     GridUser.ShowFigth(place, status);
 }
Пример #2
0
 private void ShowCompFight(Dot place, Status status)
 {
     GridComp.ShowFigth(place, status);
 }
Пример #3
0
        //private void ShowShips(DataGridView grid, Editor sea)
        //{
        //    for (int x = 0; x < Sea.size_sea.x; x++)
        //        for (int y = 0; y < Sea.size_sea.y; y++)
        //            //int nr = ;
        //    if (sea.MapShips(new Dot(x, y)) < 0)
        //        grid[x, y].Style.BackColor = color_back;
        //    else
        //        grid[x, y].Style.BackColor = color_ship[sea.MapShips(new Dot(x, y))];
        //}

        private void ShowUserShip(Dot place, int nr)
        {
            GridUser.ShowShip(place, nr);
        }