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

Method pollEvents

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

Source from the content-addressed store, hash-verified

505
506 /**
507 * sets whether this canvas updates and repaints constantly (every animation cycle) or only once when repaint has been called
508 */
509 public void setLazyRepainting(boolean b) {
510 lazyRepainting = b;
511 }
512
513 /**
514 * requests that this canvas repaints itself this animation cycle. Note, that you should almost certainly setLazyRepainting(true) before you call this, otherwise the canvas will update every
515 * cycle whether you call this or not.

Callers 1

loopMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected