cloakfall
    Preparing search index...

    Function generateRandomFleet

    • Create a series of randomly placed ships based on the provided shipLengths. The optional parameter view will set the visibility of the ships.

      Parameters

      • ships: ShipSpec[]
      • matrix: Matrix
      • view: boolean = false

      Returns Ship[]