xparq / Out_of_Nothing

Versatile entity-based simulation & visualization/gamification framework PROTOTYPE
0 stars 0 forks source link

Config chaining! Fallback to not just `.defaults`, but also another cfg instance! #400

Closed xparq closed 11 months ago

xparq commented 11 months ago

Example: the engine may have a system-wide bgcolor prop, and so can the app, overriding it. Then, all the things that need a bg. color should obviously not be burdened with hunting for some legit value -- they should just ask their closest cfg buddy, as before, delegating any fallback traversal implicitly to the cfg provider itself!

-> #401