net.sf.gridarta.model.archetype
public class TestArchetypeFactory extends Object implements ArchetypeFactory<TestGameObject,TestMapArchObject,TestArchetype>
ArchetypeFactory
implementation for testing purposes.Modifier and Type | Field and Description |
---|---|
private AnimationObjects |
animationObjects
The
AnimationObjects instance. |
private FaceObjectProviders |
faceObjectProviders
The
FaceObjectProviders instance. |
Constructor and Description |
---|
TestArchetypeFactory(FaceObjectProviders faceObjectProviders,
AnimationObjects animationObjects)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
TestArchetype |
newUndefinedArchetype(String archetypeName)
Creates a new undefined archetype instance.
|
@NotNull private final FaceObjectProviders faceObjectProviders
FaceObjectProviders
instance.@NotNull private final AnimationObjects animationObjects
AnimationObjects
instance.public TestArchetypeFactory(@NotNull FaceObjectProviders faceObjectProviders, @NotNull AnimationObjects animationObjects)
faceObjectProviders
- the face object providers instanceanimationObjects
- the animation objects instance@NotNull public TestArchetype newUndefinedArchetype(@NotNull String archetypeName)
newUndefinedArchetype
in interface ArchetypeFactory<TestGameObject,TestMapArchObject,TestArchetype>
archetypeName
- the archetype nameFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.