changed some names around
This commit is contained in:
parent
7694bd81a6
commit
8e28448428
@ -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 {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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].
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user