Search
Preparing search index...
The search index is not available
Gridy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
RadialTile
Class RadialTile
x: angle position y: radius position z: radius width w: angular length
Hierarchy
Integer3
RadialTile
Implements
IVector
<
Integer
>
ITile
<
Integer3
>
Index
Constructors
constructor
Properties
tiles
x
y
z
directions
Accessors
key
value
Methods
add
cube
Length
directions
distance
equals
neighbors
round
scale
shift
to
String
Constructors
constructor
new
Radial
Tile
(
x
?:
Integer
, y
?:
Integer
, z
?:
Integer
)
:
RadialTile
Parameters
Default value
x:
Integer
= 0
Default value
y:
Integer
= 0
Default value
z:
Integer
= 0
Returns
RadialTile
Properties
Private
tiles
tiles
:
AnyTile
[]
= []
x
x
:
Integer
y
y
:
Integer
z
z
:
Integer
Static
directions
directions
:
Directions
<
RadialTile
>
= [[Axes4.N, new RadialTile(0, -1, 0)],[Axes4.S, new RadialTile(0, 1, 0)],[Axes4.E, new RadialTile(1, 0, 0)],[Axes4.W, new RadialTile(-1, 0, 0)]]
Accessors
key
get
key
(
)
:
string
Returns
string
value
get
value
(
)
:
Integer
[]
Returns
Integer
[]
Methods
add
add
(
a
:
RadialTile
)
:
RadialTile
Parameters
a:
RadialTile
Returns
RadialTile
cube
Length
cube
Length
(
)
:
Integer
Returns
Integer
directions
directions
(
)
:
Directions
<
RadialTile
>
Returns
Directions
<
RadialTile
>
distance
distance
(
b
:
Integer3
)
:
Integer
Parameters
b:
Integer3
Returns
Integer
equals
equals
(
other
:
Integer3
)
:
boolean
Parameters
other:
Integer3
Returns
boolean
neighbors
neighbors
(
)
:
Directions
<
RadialTile
>
Returns
Directions
<
RadialTile
>
round
round
(
)
:
Integer3
Returns
Integer3
scale
scale
(
a
:
Integer
)
:
RadialTile
Parameters
a:
Integer
Returns
RadialTile
shift
shift
(
)
:
RadialTile
Returns
RadialTile
to
String
to
String
(
)
:
string
Returns
string
Globals
Radial
Tile
constructor
tiles
x
y
z
directions
key
value
add
cube
Length
directions
distance
equals
neighbors
round
scale
shift
to
String