Creates one labeled Node2D per name, attached to parent in the order given, and returns
them keyed by name. A game with a dozen conventionally-ordered layers (terrain, units, effects,
UI, ...) otherwise hand-wires each one and adds them in the right order everywhere; this is that
boilerplate once. The names and their order stay the caller's own convention - nothing here
decides what a layer is called or which should draw on top.
Creates one labeled
Node2Dper name, attached toparentin the order given, and returns them keyed by name. A game with a dozen conventionally-ordered layers (terrain, units, effects, UI, ...) otherwise hand-wires each one and adds them in the right order everywhere; this is that boilerplate once. The names and their order stay the caller's own convention - nothing here decides what a layer is called or which should draw on top.