BattleShip.GameBoard.InitialisationGrille C# (CSharp) Метод

InitialisationGrille() приватный Метод

Initialize each case of the grid
private InitialisationGrille ( ) : void
Результат void
        private void InitialisationGrille()
        {
            for (int i = 0; i < LINES; ++i)
            {
                this.AddCoordinates(i, SIZE * i + SIZE);
                for (int j = 0; j < COLUMNS; ++j)
                {
                    this.Board.Add(new casePlatform((this.Location.X + SIZE) + (SIZE * i), (this.Location.Y + SIZE) + (SIZE * j), SIZE, Color.White));
                }
            }
        }