Click or drag to resize
GameInputIsKeyPressed Method
Get if a game key was pressed down in this very frame.

Namespace:  GeonBit.Managers
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool IsKeyPressed(
	GameKeys key
)

Parameters

key
Type: GeonBit.InputGameKeys
Game key to test.

Return Value

Type: Boolean
If Game key was pressed in this frame.
See Also