public class DefaultArchetypeFactory extends java.lang.Object implements ArchetypeFactory<GameObject,MapArchObject,Archetype>
ArchetypeFactory
creating Daimonin objects.Constructor and Description |
---|
DefaultArchetypeFactory(@NotNull FaceObjectProviders faceObjectProviders,
@NotNull AnimationObjects animationObjects)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Archetype |
newUndefinedArchetype(@NotNull java.lang.String archetypeName)
Creates a new undefined archetype instance.
|
public DefaultArchetypeFactory(@NotNull @NotNull FaceObjectProviders faceObjectProviders, @NotNull @NotNull AnimationObjects animationObjects)
faceObjectProviders
- the face object providers for looking up
facesanimationObjects
- the animation objects for looking up animations@NotNull public @NotNull Archetype newUndefinedArchetype(@NotNull @NotNull java.lang.String archetypeName)
ArchetypeFactory
newUndefinedArchetype
in interface ArchetypeFactory<GameObject,MapArchObject,Archetype>
archetypeName
- the archetype name