public static class ConsoleSettings.Keystroke
Constructor and Description |
---|
Keystroke(int keyCode,
boolean ctrl,
boolean alt,
boolean shift) |
Modifier and Type | Method and Description |
---|---|
boolean |
getAlt() |
boolean |
getCtrl() |
int |
getKeyCode() |
boolean |
getShift() |
boolean |
isPressed() |
boolean |
isPressed(java.util.List<? extends com.fs.starfarer.api.input.InputEventAPI> events) |
java.lang.String |
toString() |
public Keystroke(int keyCode, boolean ctrl, boolean alt, boolean shift)
public boolean isPressed()
public boolean isPressed(java.util.List<? extends com.fs.starfarer.api.input.InputEventAPI> events)
public java.lang.String toString()
public int getKeyCode()
public boolean getCtrl()
public boolean getAlt()
public boolean getShift()