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

GameBoard() публичный Метод

Create a new gameboard 10x10 at the relative location
public GameBoard ( string name, int posX, int posY ) : System
name string
posX int Position X
posY int Position Y
Результат System
        public GameBoard(string name, int posX, int posY)
        {
            this.Board = new List<casePlatform>();
            this.Coordinates = new List<Label>();
            this.Location = new Point(posX, posY);
            this.LabelFont = new Font("Arial", 12);
            this.Name = name;
            this.ElipseColor = Color.Red;
            this.InitialisationGrille();
            this.AddLabelPlayer();
            this.InitializeSize();
            
        }
        #endregion

Same methods

GameBoard::GameBoard ( ) : System