AbstractStaticbaseStaticgraphStaticmodeStaticresourcesStaticscriptStaticserializationSee EventTarget.addEventListener for reference. Works with EventListenerUnified and EventUnified
Optional_options: boolean | AddEventListenerOptionsSee EventTarget.dispatchEvent for reference. Works with with EventUnified
See EventTarget.removeEventListener for reference. Works with EventListenerUnified and EventUnified
Optional_options: boolean | AddEventListenerOptionsStaticaddStaticclearClears the list of resources and their serialization, thus removing all resources.
StaticclearClear the list of script-namespaces.
StaticcloneStaticcreateCreates and returns a GraphInstance of the given Graph and connects it to the graph for synchronisation of mutation.
StaticderegisterRemoves the resource from the list of resources.
StaticdeserializeCreate resources from a serialization, deleting all resources previously registered
StaticdispatchDispatch an event on targetStatic.
StaticgenerateGenerate a user readable and unique id using the type of the resource, the date and random numbers
StaticgetCollects all ComponentScripts registered in Project.scriptNamespaces and returns them.
StaticgetRetrieves the resource stored with the given id
StaticgetReturns an array of all resources with the requested name.
StaticgetReturns an array of all resources of the requested type.
StaticisTests, if an object is a SerializableResource
The object to examine
StaticloadStaticloadLoad all resources from the document.head
StaticloadLoads a script from the given URL and integrates it into a HTMLScriptElement in the document.head
StaticregisterRegisters the resource and generates an id for it by default.
If the resource already has an id, thus having been registered, its deleted from the list and registered anew.
It's possible to pass an id, but should not be done except by the Serializer.
Optional_idResource: stringStaticregisterCreates and registers a resource from a Node, copying the complete graph starting with it
A node to create the resource from
if true (default), the node used as origin is replaced by a GraphInstance of the Graph created
StaticregisterStaticregisterRegister the given namespace to the list of script-namespaces.
StaticremoveStaticresyncStaticserializeSerialize all resources
Static class handling the resources used with the current FUDGE-instance.
Keeps a list of the resources and generates ids to retrieve them.
Resources are objects referenced multiple times but supposed to be stored only once