Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineThreepwood committed Mar 5, 2024
1 parent 3aa2d51 commit a0bbcfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/org/openbase/planetsudo/level/LevelView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class LevelView(level: AbstractLevel, levelObject: AbstractLevelObject) {
}

private fun stablePosition(): Boolean = !changedPosition()

private fun changedPosition(): Boolean =
lastPosition?.let { last ->
levelObject.position.x != last.x || levelObject.position.y != last.y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ class Agent(
direction.turnTo(position, teamAgent.position)
ap.getActionPoint(value * 2)
teamAgent.spendFuel(useFuel(value)).also {
// charge leftover back to origin
// charge leftover back to origin
leftover ->
spendFuel(leftover)
}
Expand Down

0 comments on commit a0bbcfe

Please sign in to comment.