by default things that we skip over backwards we _do_ run (and then immediately stop).
(Set<Box> skipForward, Map<Box, Double> times)
| 262 | */ |
| 263 | public void beginBox(Box b) { |
| 264 | b.first(Execution.execution).ifPresent(x -> x.support(b, Execution.code).begin(b, initiator(b, this.properties.get(frame).x))); |
| 265 | } |
| 266 | |
| 267 | /** |
| 268 | * by default things that we skip over backwards we _do_ run (and then immediately stop). |
| 269 | */ |
| 270 | protected void skipForward(Set<Box> skipForward, Map<Box, Double> times) { |
| 271 | if (disable) return; |
| 272 | |
| 273 | List<Box> son = new ArrayList<>(skipForward); |
| 274 | son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).y)); |
| 275 | son.sort(Comparator.comparingDouble(a -> a.properties.get(frame).x)); |
| 276 | |
| 277 | |
| 278 | son.forEach(b -> { |
| 279 | Log.log("debug.execution", () -> " -- FORWARD :" + b); |
| 280 | b.first(Execution.execution).ifPresent(x -> x.support(b, Execution.code).begin(b, initiator(b, times.get(b)))); |