20,741
edits
| Line 179: | Line 179: | ||
So we need to make sure that "optional" subsystems are "clean" in that they are not directly used by any other subsystems. | So we need to make sure that "optional" subsystems are "clean" in that they are not directly used by any other subsystems. | ||
For starters, it would probably suffice to overload the -> operator for the Globals class and simply allocate the requested subsystems lazily. | For starters, it would probably suffice to overload the -> operator for the Globals class and simply allocate the requested subsystems lazily by setting a property signal to call the SGPropertyChangeListener class that loads all the dependencies and then allocates the object. | ||
== Nasal Scripts == | == Nasal Scripts == | ||