Interface CampaignProgressIndicatorAPI

All Superinterfaces:
HasMemory, SectorEntityToken

public interface CampaignProgressIndicatorAPI extends SectorEntityToken
  • Method Details

    • setProgress

      void setProgress(float progress)
    • getProgress

      float getProgress()
    • setBarColor

      void setBarColor(Color color)
    • getDurationDays

      float getDurationDays()
    • getTarget

      SectorEntityToken getTarget()
    • setTarget

      void setTarget(SectorEntityToken target)
    • interrupt

      void interrupt()
      Turns red and fades out. Will be removed from the containing location when finished fading out.
    • finish

      void finish()
      Fades out. Will be removed from the containing location when finished fading out.