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

Method setup

src/main/java/field/graphics/BaseScene.java:73–73  ·  view source on GitHub ↗

it is the caller's responsibility to ensure that this is called per context. To do so, you can wrap all calls to this in GraphicsContext.preQueueInAllContexts(() -> ... and GraphicsContext.get(this, () -> ... )

()

Source from the content-addressed store, hash-verified

71 * GraphicsContext.preQueueInAllContexts(() -> ... and GraphicsContext.get(this, () -> ... )
72 */
73 protected abstract t_state setup();
74
75 public void finalize() {
76 GraphicsContext.postQueueInAllContexts(this::destroy);

Callers 2

BaseSceneMethod · 0.95
performMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected