moagg.level.xml.factory.object
Class AbstractObjectFactory

java.lang.Object
  extended by moagg.level.xml.factory.object.AbstractObjectFactory
Direct Known Subclasses:
BarrierFactory, BlackholeFactory, CrateFactory, FountainFactory, GrinderFactory, MagnetFactory, MortarFactory, PlatformFactory, SamFactory, SwitchFactory, TankFactory, ThornFactory, TileFactory, TurretFactory

public abstract class AbstractObjectFactory
extends java.lang.Object


Constructor Summary
AbstractObjectFactory()
           
 
Method Summary
protected  Activatable createActivatable(Activatable data)
           
protected  Destroyable createDestroyable(Destroyable data)
           
abstract  MoaggGameObject createObject(AbstractDecorationData data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractObjectFactory

public AbstractObjectFactory()
Method Detail

createObject

public abstract MoaggGameObject createObject(AbstractDecorationData data)

createActivatable

protected Activatable createActivatable(Activatable data)

createDestroyable

protected Destroyable createDestroyable(Destroyable data)


Copyright © 2008. All Rights Reserved.