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

Method getScreenshotter

src/main/java/field/graphics/Window.java:1027–1045  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1025 }
1026
1027 static public class MouseState implements HasPosition {
1028 public final Set<Integer> buttonsDown = new LinkedHashSet<Integer>();
1029 public final long time;
1030
1031 public final double dx;
1032 public final double dy;
1033 public final double x;
1034 public final double y;
1035 public final float dwheel;
1036 public final float dwheely;
1037 public final int mods;
1038 public double mx; // in drawing space
1039 public double my;
1040 public double mdx;
1041 public double mdy;
1042 // not final (but still immutable), not part of the transition framework, just along to reduce static access to Window
1043 public KeyboardState keyboardState;
1044
1045 public MouseState() {
1046 time = 0;
1047 dx = 0;
1048 dy = 0;

Callers

nothing calls this directly

Calls 7

getFrameBufferWidthMethod · 0.95
getFrameBufferHeightMethod · 0.95
padMethod · 0.95
getCurrentWidthMethod · 0.95
getCurrentHeightMethod · 0.95
existsMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected