Class InputSourceFactory
Given a GameContext creates the corresponding IInputSource for the platform specific window.
public static class InputSourceFactory
- Inheritance
-
InputSourceFactory
Methods
NewWindowInputSource(GameContext)
Creates a new input source for the window provided by the context
.
public static IInputSource NewWindowInputSource(GameContext context)
Parameters
context
GameContextThe context containing the platform specific window.
Returns
- IInputSource
An input source for the window.