forked from SteamWar/SteamWar
Format code
This commit is contained in:
@@ -42,7 +42,7 @@ class Area(loc1: Location, loc2: Location) {
|
||||
for (x in locations) {
|
||||
yield(x.block)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
val locations: Sequence<Location>
|
||||
inline get() = sequence {
|
||||
@@ -53,7 +53,7 @@ class Area(loc1: Location, loc2: Location) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
infix fun Location.max(other: Location): Location {
|
||||
|
||||
Reference in New Issue
Block a user