Package com.deco2800.game.input
Class TouchInputFactory
java.lang.Object
com.deco2800.game.input.InputFactory
com.deco2800.game.input.TouchInputFactory
public class TouchInputFactory extends InputFactory
-
Nested Class Summary
Nested classes/interfaces inherited from class com.deco2800.game.input.InputFactory
InputFactory.InputType -
Constructor Summary
Constructors Constructor Description TouchInputFactory() -
Method Summary
Modifier and Type Method Description InputComponentcreateForPlayer()Creates an input handler for the playerInputComponentcreateForTerminal()Creates an input handler for the terminal
-
Constructor Details
-
TouchInputFactory
public TouchInputFactory()
-
-
Method Details
-
createForPlayer
Creates an input handler for the player- Specified by:
createForPlayerin classInputFactory- Returns:
- Player input handler
-
createForTerminal
Creates an input handler for the terminal- Specified by:
createForTerminalin classInputFactory- Returns:
- Terminal input handler
-