Options
All
  • Public
  • Public/Protected
  • All
Menu

Module generation

Index

Functions

connect

  • Connects areas of the map to ensure they are all connected.

    For instance, if you're using an alive value of 1 for walls, then this can connect the dead value of 0 to ensure all squares on the map are accessable.

    Type parameters

    • T

    Parameters

    • table: Table<T>
    • value: T

      The value to connect (default this.deadValue)

    Returns ConnectData

getSimpleHallwayFromRooms

Generated using TypeDoc