Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add a RunsAfter annotation to allow ordering of rasterizers #3825
How to test
Add the annotation to a rasterizer. E.g.
During world generation you can place a breakpoint at
Looks good to me. There is one minor thing; I feel like the name should imply that the annotated rasterizer requires the other rasterizer to be run before it can be run, much as the Requires annotation exists for facets.
This is a good solution for situations similar to that, where the rasterizers could not logically be run without the presence of their predecessor, like the CaveFloor generation not doing anyone a lick of good without a Cave existing! But the name RunsAfter could suggest that there's no dependency involved and that it's merely for ordering purposes, which it shouldn't be.