001package com.fs.starfarer.api.campaign;
002
003import java.awt.Color;
004
005public interface CampaignProgressIndicatorAPI extends SectorEntityToken {
006        void setProgress(float progress);
007        float getProgress();
008        void setBarColor(Color color);
009        float getDurationDays();
010        SectorEntityToken getTarget();
011        void setTarget(SectorEntityToken target);
012        
013        
014        
015         /**
016         * Turns red and fades out. Will be removed from the containing location when finished fading out.
017         */
018        void interrupt();
019        
020        /**
021         * Fades out. Will be removed from the containing location when finished fading out.
022         */
023        void finish();
024}