T
- The type to instantiate.AbstractGenericFactory
, CopyFactory
, EnumMapFactory
, EnumSetFactory
, ExternalFactory
, FallbackFactory
, MapFactory
, SimpleFactory
, SimpleGenericFactory
@FunctionalInterface
public interface PrefabValueFactory<T>
Modifier and Type | Method | Description |
---|---|---|
Tuple<T> |
createValues(TypeTag tag,
PrefabValues prefabValues,
java.util.LinkedHashSet<TypeTag> typeStack) |
Creates a tuple of two prefab values.
|
Tuple<T> createValues(TypeTag tag, PrefabValues prefabValues, java.util.LinkedHashSet<TypeTag> typeStack)
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 TypeTag
s that require tag in order
to be created. Used for recursion detection.T
.Copyright © 2018. All Rights Reserved.