Package com.prineside.tdi2
Class Gate.Factory.AbstractFactory<T extends Gate>
java.lang.Object
com.prineside.tdi2.Gate.Factory.AbstractFactory<T>
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable,Gate.Factory<T>
- Direct Known Subclasses:
BarrierHealthGate.BarrierHealthGateFactory,BarrierTypeGate.BarrierTypeGateFactory,TeleportGate.TeleportGateFactory
- Enclosing interface:
- Gate.Factory<T extends Gate>
public abstract static class Gate.Factory.AbstractFactory<T extends Gate>
extends Object
implements Gate.Factory<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.Gate.Factory
Gate.Factory.AbstractFactory<T extends Gate> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Releases all resources of this object.fromJson(com.badlogic.gdx.utils.JsonValue jsonValue) getDescription(Gate gate) voidsetup()voidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.prineside.tdi2.Gate.Factory
create, createRandom
-
Constructor Details
-
AbstractFactory
-
-
Method Details
-
getTitle
- Specified by:
getTitlein interfaceGate.Factory<T extends Gate>
-
getDescription
- Specified by:
getDescriptionin interfaceGate.Factory<T extends Gate>
-
setup
public void setup()- Specified by:
setupin interfaceGate.Factory<T extends Gate>
-
setupAssets
public void setupAssets() -
fromJson
- Specified by:
fromJsonin interfaceGate.Factory<T extends Gate>
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.DisposableReleases all resources of this object.- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable
-