first successful sprite assembly

ALL kwd still not implemented
This commit is contained in:
minjaesong
2019-01-07 04:13:38 +09:00
parent 5b31b4768f
commit 655eccbe19
6 changed files with 66 additions and 61 deletions

View File

@@ -261,6 +261,7 @@ class ADPropertyObject(propertyRaw: String) {
override fun toString() = "($x, $y)"
operator fun plus(other: Vector2i) = Vector2i(this.x + other.x, this.y + other.y)
operator fun minus(other: Vector2i) = Vector2i(this.x - other.x, this.y - other.y)
fun invertY() = Vector2i(this.x, -this.y)
}