code formatting tweak
This commit is contained in:
parent
2cb6d3aed3
commit
234adbf9b5
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user