1package com.fs.starfarer.api.fleet;
7 public static class CREvent {
10 public float elapsed = 0f;
12 public CREvent(
float crAmount, String text) {
13 this.crAmount = crAmount;
16 public float getCrAmount() {
19 public String getText() {
23 public void advance(
float days) {
27 public boolean isExpired() {
30 public float getElapsed() {
void setMothballed(boolean mothballed)
float getCRPriorToMothballing()
float getRemainingRepairTime()
void performRepairsFraction(float fraction)
boolean isCrashMothballed()
void applyCREvent(float crChange, String description)
float getFuelFromScuttling()
CREvent getNoSupplyCRLossEvent()
float getRepairRatePerDay()
void setCRPriorToMothballing(float crPriorToMothballing)
void setSuspendRepairs(boolean suspendRepairs)
float getHeavyMachineryFromScuttling()
boolean isSuspendRepairs()
float getSuppliesFromScuttling()
float computeRepairednessFraction()
void applyCREvent(float crChange, String id, String description)
List< CREvent > getRecentEvents()
void setCrashMothballed(boolean crashMothballed)