Search
Preparing search index...
The search index is not available
Gridy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
IGrid
Interface IGrid<T>
Type parameters
T
Hierarchy
IGrid
Implemented by
BrickGrid
HexagonalGrid
RadialGrid
RectangularGrid
TriangularGrid
Index
Properties
angle
irregular
orientation
radius
scale
scaleY
tile
Types
tiles
x
y
Methods
bounds
center
get
Tile
Type
path
position
tile
to
Point
to
Tile
vertices
Properties
angle
angle
:
Float
Optional
irregular
irregular
:
undefined
|
true
|
false
orientation
orientation
:
any
radius
radius
:
Float
scale
scale
:
Float
scaleY
scaleY
:
Float
Optional
tile
Types
tile
Types
:
TileType
tiles
tiles
:
T
[]
x
x
:
Integer
y
y
:
Integer
Methods
bounds
bounds
(
)
:
Rectangle
Returns
Rectangle
center
center
(
tile
:
T
)
:
Float2
Parameters
tile:
T
Returns
Float2
Optional
get
Tile
Type
get
Tile
Type
(
tile
:
T
)
:
Integer
Parameters
tile:
T
Returns
Integer
Optional
path
path
(
tile
?:
AnyTile
)
:
string
Parameters
Optional
tile:
AnyTile
Returns
string
position
position
(
position
:
Float2
)
:
T
Parameters
position:
Float2
Returns
T
tile
tile
(
x
:
number
, y
:
number
)
:
T
|
undefined
Parameters
x:
number
y:
number
Returns
T
|
undefined
to
Point
to
Point
(
tile
:
T
)
:
Position
Parameters
tile:
T
Returns
Position
to
Tile
to
Tile
(
position
:
Position
)
:
T
Parameters
position:
Position
Returns
T
vertices
vertices
(
orientation
?:
undefined
|
true
|
false
, scale
?:
Float
, tileType
?:
Integer
, tile
?:
AnyTile
)
:
Float2
[]
Parameters
Optional
orientation:
undefined
|
true
|
false
Optional
scale:
Float
Optional
tileType:
Integer
Optional
tile:
AnyTile
Returns
Float2
[]
Globals
IGrid
angle
irregular
orientation
radius
scale
scaleY
tile
Types
tiles
x
y
bounds
center
get
Tile
Type
path
position
tile
to
Point
to
Tile
vertices