changed some names around

This commit is contained in:
dtookey 2023-08-06 18:20:30 -04:00
parent 7694bd81a6
commit 8e28448428
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ import java.awt.event.KeyEvent
* specific workflow logic and leverage the agent for the lower level * specific workflow logic and leverage the agent for the lower level
* activities needed to craft, cook, etc. * activities needed to craft, cook, etc.
*/ */
class Agent(val controller: DesktopInputController = RobotController()) { class Agent(val controller: Automaton = RobotController()) {
companion object { companion object {

View File

@ -158,7 +158,7 @@ interface DesktopController {
* Classes that implement this interface can serve as full featured * Classes that implement this interface can serve as full featured
* controllers for desktop automation tasks. * controllers for desktop automation tasks.
*/ */
interface DesktopInputController : DesktopController, InputController, TemporalController interface Automaton : DesktopController, InputController, TemporalController
/** /**
* Data class to hold wiggle parameters for mouse movement. * Data class to hold wiggle parameters for mouse movement.
@ -190,7 +190,7 @@ data class WiggleParams(
* *
* @param robot The Robot instance to use. A default is created if not provided. * @param robot The Robot instance to use. A default is created if not provided.
*/ */
open class RobotController(private val robot: Robot = Robot()) : DesktopInputController { open class RobotController(private val robot: Robot = Robot()) : Automaton {
/** /**
* Moves the mouse cursor to the given [Point]. * Moves the mouse cursor to the given [Point].
* *