mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-09 21:31:51 +09:00
loading player from json file
This commit is contained in:
@@ -132,6 +132,9 @@ class Vector2 {
|
||||
this.y = Math.sin(direction)
|
||||
}
|
||||
|
||||
operator fun component1() = x
|
||||
operator fun component2() = y
|
||||
|
||||
/**
|
||||
* Returns a copy of this [Vector2].
|
||||
* @return [Vector2]
|
||||
|
||||
Reference in New Issue
Block a user