loading player from json file

This commit is contained in:
minjaesong
2021-08-28 16:31:06 +09:00
parent 29cccea19b
commit b84a0a770b
31 changed files with 308 additions and 145 deletions

View File

@@ -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]