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

Method arrowLeft

src/main/java/fieldbox/ui/Cursors.java:39–45  ·  view source on GitHub ↗
(Window window)

Source from the content-addressed store, hash-verified

37 }
38
39 static public void arrowLeft(Window window) {
40
41 if (arrowLeft == 0) arrowLeft = loadResource("arrowLeft.jpg");
42
43 Log.log("cursors", () -> "setting to arrow");
44 if (currentCursor != arrowLeft) glfwSetCursor(window.getGLFWWindowReference(), currentCursor = arrowLeft);
45 }
46
47 protected static long loadResource(String res) {
48 URL arrowFile = Cursors.class.getClassLoader()

Callers 1

FrameManipulationMethod · 0.95

Calls 3

loadResourceMethod · 0.95
logMethod · 0.95

Tested by

no test coverage detected