Package net.sf.gridarta.model.gameobject
Class AbstractIsoGameObjectFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.model.gameobject.AbstractGameObjectFactory<G,A,R>
-
- net.sf.gridarta.model.gameobject.AbstractIsoGameObjectFactory<G,A,R>
-
- All Implemented Interfaces:
GameObjectFactory<G,A,R>
- Direct Known Subclasses:
DefaultGameObjectFactory,DefaultGameObjectFactory
public abstract class AbstractIsoGameObjectFactory<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends AbstractGameObjectFactory<G,A,R>
Abstract base class for aGameObjectFactorythat createsGameObjects.
-
-
Constructor Summary
Constructors Constructor Description AbstractIsoGameObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GcloneGameObject(G gameObject)Creates a copy of a game object.-
Methods inherited from class net.sf.gridarta.model.gameobject.AbstractGameObjectFactory
cloneMultiGameObject, createInventory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.gridarta.model.gameobject.GameObjectFactory
createGameObject, createGameObjectPart, newArchetype
-
-
-
-
Method Detail
-
cloneGameObject
@NotNull public G cloneGameObject(@NotNull G gameObject)
Description copied from interface:GameObjectFactoryCreates a copy of a game object.- Parameters:
gameObject- the game object to copy- Returns:
- the new game object
-
-