cloakfall
    Preparing search index...

    Function buildShip

    • Generate a ship with the provided line of points. The visibility of the ship on the board is determined by the view parameter.

      Parameters

      • shipInfo: ShipSpec
      • line: Point[]
      • matrix: Matrix
      • view: boolean = false

      Returns Ship