MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / getCurrentMouseState

Method getCurrentMouseState

src/main/java/field/graphics/Window.java:649–651  ·  view source on GitHub ↗

returns the last seen mouse state

()

Source from the content-addressed store, hash-verified

647 */
648 public Window addKeyboardHandler(Function<Event<KeyboardState>, Boolean> h) {
649 keyboardHandlers.add(h);
650 return this;
651 }
652
653 /**
654 * A keyboard handler is a Function<Event<MouseState>, Boolean>>, that is a function that takes a transition between two MouseStates and returns a boolean, whether or not it ever wants to be

Callers 6

BoxPairMethod · 0.80
newBoxPairMethod · 0.80
mouseXMethod · 0.80
mouseYMethod · 0.80
runMethod · 0.80
insertFromFileCalledMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected