Class InputFactory

java.lang.Object
com.deco2800.game.input.InputFactory
Direct Known Subclasses:
KeyboardInputFactory, TouchInputFactory

public abstract class InputFactory
extends java.lang.Object
InputFactory creates inputType-specific inputFactories which can handle various types of input. Currently only keyboard input and touch is implemented, but InputFactory can be expanded to include more, e.g. touch gestures.

Methods to get new input handlers should be defined here.