Modifier and Type | Field and Description |
---|---|
protected SquidMouse |
SquidInput.mouse |
protected SquidMouse |
VisualInput.mouseLeft |
protected SquidMouse |
VisualInput.mouseRight |
Modifier and Type | Method and Description |
---|---|
SquidMouse |
SquidInput.getMouse() |
Modifier and Type | Method and Description |
---|---|
void |
SquidInput.setMouse(SquidMouse mouse) |
Constructor and Description |
---|
SquidInput(SquidInput.KeyHandler keyHandler,
SquidMouse mouse)
Constructs a new SquidInput that responds to mouse and keyboard input when given a SquidMouse and a
SquidInput.KeyHandler implementation.
|
SquidInput(SquidInput.KeyHandler keyHandler,
SquidMouse mouse,
boolean ignoreInput)
Constructs a new SquidInput that responds to mouse and keyboard input when given a SquidMouse and a
SquidInput.KeyHandler implementation, and can be put in an initial state where it ignores input until told
otherwise via setIgnoreInput(boolean).
|
SquidInput(SquidMouse mouse)
Constructs a new SquidInput that does not respond to keyboard input, but does take mouse input and passes mouse
events along to the given SquidMouse.
|
VisualInput(SquidInput.KeyHandler keyHandler,
SquidMouse mouse) |
VisualInput(SquidInput.KeyHandler keyHandler,
SquidMouse mouse,
boolean ignoreInput) |
Copyright © Eben Howard 2012–2022. All rights reserved.