Package com.xebisco.yield.manager
Interface PCInputManager
public interface PCInputManager
This interface represents a PC input manager that handles user input from a keyboard and mouse.
-
Method Summary
Modifier and TypeMethodDescriptionThe function returns a collection of currently pressed keys.This function returns a collection of currently pressing mouse buttons.mouse()
-
Method Details
-
getPressingKeys
Collection<Input.Key> getPressingKeys()The function returns a collection of currently pressed keys.- Returns:
- A collection of currently pressing keys is being returned.
-
getPressingMouseButtons
Collection<Input.MouseButton> getPressingMouseButtons()This function returns a collection of currently pressing mouse buttons.- Returns:
- A collection of currently pressing mouse buttons.
-
mouse
Vector2D mouse()
-