Ctrl+K

IInputManager

Declaration

public interface Strawberry.Input.IInputManager

The manager that handles all user input in the game

Properties

PointingDevice abstract

The pointing device used by the game. You can use this object to get information about mouse clicks or touch input.

IPointingDevice PointingDevice { get }

Keyboard abstract

The keyboard device used by the game.

IKeyboard Keyboard { get }

Methods

Initialize abstract

Initializes the input manager setting up the keyboard and pointing device. (Used by Game class do not call it manually)

void Initialize()

Update abstract

Updates the states of the input devices (like key presses on a keyboard or mouse clicks). (Used by Game class do not call it manually)

void Update()