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

Method Boxes

src/main/java/fieldbox/boxes/Boxes.java:50–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 Box origin;
49
50 public Boxes() {
51 origin = new Box();
52 origin.properties.put(root, origin);
53 origin.properties.put(Box.name, "<<root>>");
54
55 origin.properties.put(Planes.plane, "__root__");
56
57 InverseDebugMapping.defaultRoot = origin;
58
59 // set these up so that they will appear in autocomplete
60
61 origin.properties.getOrConstruct(Callbacks.onDelete);
62 origin.properties.getOrConstruct(Callbacks.onLoad);
63 origin.properties.getOrConstruct(Callbacks.onFrameChanged);
64
65 origin.properties.getOrConstruct(Commands.command);
66 origin.properties.getOrConstruct(Commands.commandDoc);
67 }
68
69 protected Set<Box> population = Collections.emptySet();
70

Callers

nothing calls this directly

Calls 2

putMethod · 0.45
getOrConstructMethod · 0.45

Tested by

no test coverage detected