(Box root)
| 28 | |
| 29 | public Auto(Box root) { |
| 30 | |
| 31 | root.properties.put(auto, 0); // makes property appear in autocomplete for everyone |
| 32 | |
| 33 | done = new HashMap<>(); |
| 34 | |
| 35 | properties.putToMap(Callbacks.onLoad, "__autoload__", (b) -> { |
| 36 | // we only auto things once. |
| 37 | loaded(); |
| 38 | return null; |
| 39 | }); |
| 40 | } |
| 41 | |
| 42 | @Override |
| 43 | public void loaded() { |
| 44 | |
| 45 | List<Triple<Box, Float, Number>> run = breadthFirst(both()).filter(x -> x.properties.has(auto)) |