code formatting tweak

This commit is contained in:
dtookey 2023-08-06 19:24:05 -04:00
parent 2cb6d3aed3
commit 234adbf9b5

View File

@ -60,7 +60,7 @@ interface InputController {
fun scrollOut(sleepDur: Long, sleepDurVariance: Long)
}
interface TemporalController{
interface TemporalController {
/**
* Sleeps for the specified duration.
*
@ -128,7 +128,7 @@ interface DesktopController {
* @param params The wiggle parameters
* @return A new [Point] randomly offset from the target point.
*/
fun getAlmostPoint(point: Point, params : WiggleParams): Point{
fun getAlmostPoint(point: Point, params: WiggleParams): Point {
val xDel = Random.nextInt(0, params.xWiggle)
val yDel = Random.nextInt(0, params.yWiggle)
val xDir = if (Random.nextDouble() > 0.5) {