unrail-engine
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Grid
constructor
cells
cols
focus
Cell
rows
clear
create
Cells
define
Neighboors
get
update
Cell
Hierarchy
Grid
Index
Constructors
constructor
Properties
cells
cols
focus
Cell
rows
Methods
clear
create
Cells
define
Neighboors
get
update
Cell
Constructors
constructor
new
Grid
(
cols
:
number
, rows
:
number
)
:
Grid
Parameters
cols:
number
rows:
number
Returns
Grid
Properties
cells
cells
:
Cell
[]
cols
cols
:
number
focus
Cell
focus
Cell
:
Cell
rows
rows
:
number
Methods
clear
clear
(
)
:
void
Returns
void
Private
create
Cells
create
Cells
(
)
:
void
Returns
void
Private
define
Neighboors
define
Neighboors
(
)
:
void
Returns
void
get
get
(
x
:
any
, y
:
any
)
:
Cell
Parameters
x:
any
y:
any
Returns
Cell
Private
update
Cell
update
Cell
(
newCell
:
Cell
)
:
void
Parameters
newCell:
Cell
Returns
void
Generated using
TypeDoc