7 lines
153 B
Kotlin
7 lines
153 B
Kotlin
|
package net.shadowfacts.shadowui.geometry
|
||
|
|
||
|
class Point(val x: Double, val y: Double) {
|
||
|
|
||
|
constructor(x: Int, y: Int): this(x.toDouble(), y.toDouble())
|
||
|
|
||
|
}
|