Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MapGenerator

Index

Constructors

Properties

Methods

Constructors

constructor

  • new MapGenerator(width: number, height: number): MapGenerator
  • Parameters

    • width: number
    • height: number

    Returns MapGenerator

Properties

Private generator

generator: ROT.Map

Protected height

height: number

Protected tiles

tiles: TileInterface[][]

Private totalIterations

totalIterations: number = 3

Protected width

width: number

Methods

generate

  • Returns TileInterface[][]

Generated using TypeDoc