Search
Preparing search index...
The search index is not available
@m0ksem/bronze
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"math/Vector2"
Vector2
Class Vector2
Hierarchy
Vector2
Indexable
[
key:
string
]:
any
Index
Constructors
constructor
Properties
x
y
Methods
move
set
to
Array
Constructors
constructor
new
Vector2
(
x
:
number
, y
:
number
)
:
Vector2
Parameters
x:
number
y:
number
Returns
Vector2
Properties
x
x
:
number
= 0
y
y
:
number
= 0
Methods
move
move
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
set
set
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
to
Array
to
Array
(
)
:
any
[]
Returns
any
[]
Globals
"math/
Vector2"
Vector2
constructor
x
y
move
set
to
Array
angle
Between
Vectors
distance
length
multiply
normalize
vec2
Multiply
Generated using
TypeDoc