Package com.csse3200.game.input
Class TouchInputFactory
java.lang.Object
com.csse3200.game.input.InputFactory
com.csse3200.game.input.TouchInputFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class com.csse3200.game.input.InputFactory
InputFactory.InputType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates an input handler for the playerCreates an input handler for the terminalMethods inherited from class com.csse3200.game.input.InputFactory
createFromInputType
-
Constructor Details
-
TouchInputFactory
public TouchInputFactory()
-
-
Method Details
-
createForPlayer
Creates an input handler for the player- Specified by:
createForPlayer
in classInputFactory
- Returns:
- Player input handler
-
createForTerminal
Creates an input handler for the terminal- Specified by:
createForTerminal
in classInputFactory
- Returns:
- Terminal input handler
-