Search
Preparing search index...
The search index is not available
Gridy
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Integer2
Class Integer2
Hierarchy
Integer2
TriangularTile
RectangularTile
Rectangular8Tile
Implements
IVector
<
Integer
>
Index
Constructors
constructor
Properties
x
y
Accessors
value
Methods
add
cube
Length
distance
equals
scale
to
String
Constructors
constructor
new
Integer2
(
x
?:
Integer
, y
?:
Integer
)
:
Integer2
Parameters
Default value
x:
Integer
= 0
Default value
y:
Integer
= 0
Returns
Integer2
Properties
x
x
:
Integer
y
y
:
Integer
Accessors
value
get
value
(
)
:
Integer
[]
Returns
Integer
[]
Methods
add
add
(
p
:
Integer2
)
:
Integer2
Parameters
p:
Integer2
Returns
Integer2
cube
Length
cube
Length
(
)
:
Integer
Returns
Integer
distance
distance
(
b
:
Integer2
)
:
Integer
Parameters
b:
Integer2
Returns
Integer
equals
equals
(
p
:
Integer2
)
:
boolean
Parameters
p:
Integer2
Returns
boolean
scale
scale
(
d
:
Integer
)
:
Integer2
Parameters
d:
Integer
Returns
Integer2
to
String
to
String
(
)
:
string
Returns
string
Globals
Integer2
constructor
x
y
value
add
cube
Length
distance
equals
scale
to
String