core
0.16.3
core
/
de.peekandpoke.kraft.utils
/
Vector2D
Vector2D
data
class
Vector2D
(
val
x
:
Double
,
val
y
:
Double
)
Content copied to clipboard
Types
Constructors
Functions
Properties
Constructors
Vector2D
Link copied to clipboard
fun
Vector2D
(
x
:
Double
,
y
:
Double
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
minus
Link copied to clipboard
operator
fun
minus
(
other
:
Vector2D
)
:
Vector2D
Content copied to clipboard
plus
Link copied to clipboard
operator
fun
plus
(
other
:
Vector2D
)
:
Vector2D
Content copied to clipboard
Properties
x
Link copied to clipboard
val
x
:
Double
Content copied to clipboard
y
Link copied to clipboard
val
y
:
Double
Content copied to clipboard