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

Method character

src/main/java/field/graphics/Windows.java:274–290  ·  view source on GitHub ↗
(long window, int character)

Source from the content-addressed store, hash-verified

272 GlfwCallback a = adaptors.get(window);
273 if (a != null)
274 a.character(window, character);
275 };
276
277 if (checkThread()) r.run();
278 else {
279 events.addLast(r);
280 RunLoop.main.shouldSleep.add(Windows.this);
281 RunLoop.main.interrupt();
282 }
283 }
284
285 @Override
286 public void drop(long window, String[] files) {
287 Runnable r = () -> {
288 checkClassLoader();
289 // cursorPos is given just before drop to tell us where the drop has occured.
290 GlfwCallback a = adaptors.get(window);
291 if (a != null) a.drop(window, files);
292 };
293

Callers

nothing calls this directly

Calls 7

checkClassLoaderMethod · 0.95
characterMethod · 0.95
checkThreadMethod · 0.95
interruptMethod · 0.80
getMethod · 0.65
runMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected