Interface PrefabValueFactory<T>

    • Method Detail

      • createValues

        Tuple<T> createValues​(TypeTag tag,
                              PrefabValues prefabValues,
                              LinkedHashSet<TypeTag> typeStack)
        Creates a tuple of two prefab values.
        Parameters:
        tag - The typetag of the type for which to create values.
        prefabValues - Repository for querying instances of generic types of the type tag.
        typeStack - A stack of TypeTags that require tag in order to be created. Used for recursion detection.
        Returns:
        A "red" instance of T.