Fix kotlin code style issues

This commit is contained in:
Gary Tierney
2018-09-04 04:43:34 +01:00
parent b6086d57b8
commit 475c7ac741
89 changed files with 338 additions and 435 deletions
-2
View File
@@ -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
}
}