Search
Preparing search index...
The search index is not available
dungen-ts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Room
Class Room
Hierarchy
Room
Index
Constructors
constructor
Properties
coords
description
exits
id
title
Methods
add
Exit
to
Yaml
Constructors
constructor
new
Room
(
x
:
number
, y
:
number
)
:
Room
Parameters
x:
number
y:
number
Returns
Room
Properties
coords
coords
:
ICoordinates
description
description
:
string
= `""`
exits
exits
:
Exit
[]
= []
id
id
:
string
= v4()
title
title
:
string
= this.id
Methods
add
Exit
add
Exit
(
direction
:
Exit
)
:
void
Parameters
direction:
Exit
Returns
void
to
Yaml
to
Yaml
(
offsetX
?:
number
, offsetY
?:
number
)
:
string
Parameters
Default value
offsetX:
number
= 0
Default value
offsetY:
number
= 0
Returns
string
Globals
Cell
Cellular
Automata
Room
constructor
coords
description
exits
id
title
add
Exit
to
Yaml
IArgs
ICell
Direction
ICellular
Automata
Options
ICoordinates
Exit
args
parser
write
File
clamp
from_
1d
get
Random
Point
InCircle
length
manhattan
Distance
rand
InRange
roundm
srand
to_
1d
Generated using
TypeDoc