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

Method Meshes

src/main/java/fieldbox/boxes/Meshes.java:26–31  ·  view source on GitHub ↗
(Box root)

Source from the content-addressed store, hash-verified

24
25
26 public Meshes(Box root) {
27 this.properties.putToList(Drawing.drawers, this);
28 Optional<FieldBoxWindow> w = root.find(Boxes.window, root.both())
29 .findFirst();
30 this.properties.put(windowScene, w.get().getCompositor().getLayer("__main__").getScene());
31 }
32
33 @Override
34 public void draw(DrawingInterface context) {

Callers

nothing calls this directly

Calls 8

putToListMethod · 0.80
getLayerMethod · 0.80
getCompositorMethod · 0.80
getMethod · 0.65
findMethod · 0.45
bothMethod · 0.45
putMethod · 0.45
getSceneMethod · 0.45

Tested by

no test coverage detected