}
}
ships = new ArrayList<Ship>();
// Initialize ships without position.
ships.add(new Ship(ShipType.Battleship, 5));
ships.add(new Ship(ShipType.Cruiser, 4));
ships.add(new Ship(ShipType.Cruiser, 4));
ships.add(new Ship(ShipType.Destroyer, 3));
ships.add(new Ship(ShipType.Destroyer, 3));
ships.add(new Ship(ShipType.Destroyer, 3));
ships.add(new Ship(ShipType.Submarine, 2));
ships.add(new Ship(ShipType.Submarine, 2));
ships.add(new Ship(ShipType.Submarine, 2));
if (Randomizer.nextInt(10) == 8)
ships.add(new Ship(ShipType.YellowSubmarine, 2));
else
ships.add(new Ship(ShipType.Submarine, 2));
if (Const.DEBUG)
{
for (Ship ship : ships)
System.out.printf(ship.Type.toString() + " - " + ship.Length + " - " + ship.Position + "\n");