Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BasePlanner

Hierarchy

  • BasePlanner

Index

Methods

Static Private bunkerIntersectsWith

  • bunkerIntersectsWith(anchor: Coord | RoomPosition, obstacle: Coord | RoomPosition, padding?: number): boolean
  • Parameters

    • anchor: Coord | RoomPosition
    • obstacle: Coord | RoomPosition
    • Default value padding: number = 1

    Returns boolean

Static Private getAllowableBunkerLocations

  • getAllowableBunkerLocations(room: Room, visualize?: boolean): RoomPosition[]

Static getBunkerLocation

  • getBunkerLocation(room: Room, visualize?: boolean): RoomPosition | undefined

Static Private getNonIntersectingBunkerLocations

  • getNonIntersectingBunkerLocations(roomName: string, visualize?: boolean): RoomPosition[]

Static Private terrainIntersectsWithBunker

  • terrainIntersectsWithBunker(anchor: Coord, distanceMatrix: CostMatrix): boolean

Generated using TypeDoc