mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-05 16:49:04 +00:00
Fix kotlin code style issues
This commit is contained in:
@@ -14,7 +14,6 @@ interface Area {
|
||||
* Returns whether or not the specified [Position] is inside this [Area].
|
||||
*/
|
||||
operator fun contains(position: Position): Boolean
|
||||
|
||||
}
|
||||
|
||||
internal class RectangularArea(private val x: IntRange, private val y: IntRange, private val height: Int) : Area {
|
||||
@@ -23,5 +22,4 @@ internal class RectangularArea(private val x: IntRange, private val y: IntRange,
|
||||
val (x, y, z) = position
|
||||
return x in this.x && y in this.y && z == height
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -38,5 +38,4 @@ class AreaActionBuilder internal constructor(val name: String, val area: Area) {
|
||||
fun exit(listener: AreaListener) {
|
||||
this.exit = listener
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user