Interface HumanPlayer.Input
- Enclosing class:
HumanPlayer
public static sealed interface HumanPlayer.Input
Represents an input source that can be used to read a line of text.
-
Method Summary
-
Method Details
-
readLine
String readLine()Reads a line of text from the input source.- Returns:
- the line of text read from the input source.
-