mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-10 22:01:52 +09:00
screw AWT, we'll use GDX for sprite preview
This commit is contained in:
@@ -261,6 +261,8 @@ class ADPropertyObject(propertyRaw: String) {
|
||||
override fun toString() = "($x, $y)"
|
||||
|
||||
operator fun plus(other: Vector2i) = Vector2i(this.x + other.x, this.y + other.y)
|
||||
|
||||
fun invertY() = Vector2i(this.x, -this.y)
|
||||
}
|
||||
|
||||
enum class ADPropertyType {
|
||||
|
||||
Reference in New Issue
Block a user