Abstract Static baseURLStatic graphStatic modeStatic resourcesStatic scriptStatic serializationSee 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 | AddEventListenerOptionsStatic addStatic clearStatic clearStatic createCreates and returns a GraphInstance of the given Graph and connects it to the graph for synchronisation of mutation.
Static deregisterRemoves the resource from the list of resources.
Static deserializeCreate resources from a serialization, deleting all resources previously registered
Static dispatchStatic generateGenerate a user readable and unique id using the type of the resource, the date and random numbers
Static getCollects all ComponentScripts registered in Project.scriptNamespaces and returns them.
Static getRetrieves the resource stored with the given id
Static getReturns an array of all resources with the requested name.
Static getReturns an array of all resources of the requested type.
Static isTests, if an object is a SerializableResource
The object to examine
Static loadStatic loadStatic loadStatic registerRegisters 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: stringStatic registerCreates 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
Static registerRegister the given GraphInstance to be resynced
Static registerStatic removeStatic resyncResync all GraphInstance registered to the given Graph
Static serializeSerialize 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