eu.joaocosta.minart.input
Members list
Type members
Classlikes
The keyboard input stores the state of the keyboard at a certain point in time. It also accumulates keys that have been pressed and released.
The keyboard input stores the state of the keyboard at a certain point in time. It also accumulates keys that have been pressed and released.
Attributes
- events
ordered press/release keyboard events. Note that only the most recent
KeyboardInput.maxEvents
are guaranteed to be present.- keysDown
keys that are pressed down
- Companion:
- object
- Graph
- Supertypes
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- KeyboardInput.type
The pointer input stores the state of the mouse (or similar device) at a certain point in time. It also accumulates points that have been pressed and released.
The pointer input stores the state of the mouse (or similar device) at a certain point in time. It also accumulates points that have been pressed and released.
Attributes
- events
points where the pointer was pressed/released (the boolean indicates pressed when true, released when false). Note that only the most recent
PointerInput.maxEvents
are guaranteed to be present.- position
the current pointer position.
- pressedOn
if defined, it means the mouse is currently down and was pressed at that position. Otherwise, the mouse is currently up.
- Companion:
- object
- Graph
- Supertypes
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- PointerInput.type