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

Method updateScene

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

Source from the content-addressed store, hash-verified

594 * gets the current clipboard (as a string);
595 */
596 public String getCurrentClipboard() {
597 return glfwGetClipboardString(window);
598 }
599
600 /**
601 * sets the current clipboard (as a string);
602 */
603 public void setCurrentClipboard(String s) {
604 glfwSetClipboardString(window, s);
605 }
606
607 /**
608 * returns the internal glfw window handle for this window. You'll only need this if you are going to do GLFW stuff to this window)
609 */
610 public long getGLFWWindowReference() {
611 return window;
612 }
613
614 /**
615 * returns the last seen mouse state
616 */
617 public MouseState getCurrentMouseState() {
618 return mouseState;
619 }
620

Callers 1

loopMethod · 0.95

Calls 11

enterContextMethod · 0.95
checkErrorMethod · 0.95
getContextMethod · 0.95
getRetinaScaleFactorMethod · 0.95
logMethod · 0.95
exitContextMethod · 0.95
debugPrintSceneMethod · 0.80
updateAllMethod · 0.80
setMethod · 0.65
forEachMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected