Package com.prineside.tdi2
Class Gate.Factory.AbstractFactory<T extends Gate>
java.lang.Object
com.prineside.tdi2.Gate.Factory.AbstractFactory<T>
- All Implemented Interfaces:
Disposable
,EntityFactory
,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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Releases all resources of this object.getDescription
(Gate gate) void
setup()
void
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.prineside.tdi2.Gate.Factory
create, createRandom
-
Constructor Details
-
AbstractFactory
-
-
Method Details
-
getTitle
- Specified by:
getTitle
in interfaceGate.Factory<T extends Gate>
-
getDescription
- Specified by:
getDescription
in interfaceGate.Factory<T extends Gate>
-
setup
public void setup()- Specified by:
setup
in interfaceGate.Factory<T extends Gate>
-
setupAssets
public void setupAssets() -
fromJson
- Specified by:
fromJson
in interfaceGate.Factory<T extends Gate>
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfaceDisposable
-