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>
  • Constructor Details

    • AbstractFactory

      public AbstractFactory(GateType gateType)
  • Method Details

    • getTitle

      public CharSequence getTitle(Gate gate)
      Specified by:
      getTitle in interface Gate.Factory<T extends Gate>
    • getDescription

      public CharSequence getDescription(Gate gate)
      Specified by:
      getDescription in interface Gate.Factory<T extends Gate>
    • setup

      public void setup()
      Specified by:
      setup in interface Gate.Factory<T extends Gate>
    • setupAssets

      public void setupAssets()
    • fromJson

      public T fromJson(com.badlogic.gdx.utils.JsonValue jsonValue)
      Specified by:
      fromJson in interface Gate.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 interface com.badlogic.gdx.utils.Disposable