Package org.highlife.api.input.keyboard
Class StandardKeyboardAlgorithm
java.lang.Object
org.highlife.api.input.keyboard.StandardKeyboardAlgorithm
- All Implemented Interfaces:
KeyboardTypingAlgorithm
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMistake(char c) getRandomCharInString(String string) inthandleTyping(String message) voidvoidtypeKey(char character) void
-
Constructor Details
-
StandardKeyboardAlgorithm
public StandardKeyboardAlgorithm()
-
-
Method Details
-
handleTyping
- Specified by:
handleTypingin interfaceKeyboardTypingAlgorithm
-
typeKey
public void typeKey(char character) -
typeKey
- Specified by:
typeKeyin interfaceKeyboardTypingAlgorithm
-
getMistake
-
getRandomCharInString
-
pressEnter
public void pressEnter()- Specified by:
pressEnterin interfaceKeyboardTypingAlgorithm
-