Class KantaCMD.FusionLampColorChanger

java.lang.Object
com.fs.starfarer.api.impl.campaign.rulecmd.KantaCMD.FusionLampColorChanger
All Implemented Interfaces:
EveryFrameScript
Enclosing class:
KantaCMD

public static class KantaCMD.FusionLampColorChanger extends Object implements EveryFrameScript
  • Field Details

  • Constructor Details

    • FusionLampColorChanger

      public FusionLampColorChanger(MarketAPI market)
  • Method Details

    • isDone

      public boolean isDone()
      Specified by:
      isDone in interface EveryFrameScript
      Returns:
      true when the script is finished and can be cleaned up by the engine.
    • runWhilePaused

      public boolean runWhilePaused()
      Specified by:
      runWhilePaused in interface EveryFrameScript
      Returns:
      whether advance() should be called while the campaign engine is paused.
    • advance

      public void advance(float amount)
      Description copied from interface: EveryFrameScript
      Use SectorAPI.getClock() to convert to campaign days.
      Specified by:
      advance in interface EveryFrameScript
      Parameters:
      amount - seconds elapsed during the last frame.