public void SetFormationRow(Ship selctedship, uint amountOfShips, uint Rowposition) { if (Rowposition < 6) { rows[Rowposition] = new FormationRow(selctedship, amountOfShips); } else { throw new Exception("Invalid Row"); } }
public BattleFormation(string name) { this.name = name; rows = new FormationRow[6]; }