Starsector API
Loading...
Searching...
No Matches
FleetMemberStatusAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.fleet;
2
3import java.util.Random;
4
5
6public interface FleetMemberStatusAPI {
12
18
23
24
29
30
31 void disable();
34
35 void repairFraction(float fraction);
36
41 void applyDamage(float hitStrength);
42
43
51 void applyHullFractionDamage(float fraction);
52
53
60 void applyHullFractionDamage(float fraction, int index);
61
66
67 void setHullFraction(float fraction);
68
69 void repairArmorAllCells(float fraction);
70 void repairHullFraction(float fraction);
71
73
74 void setRandom(Random random);
75
76 Random getRandom();
77
78 void setDetached(int index, Boolean detached);
79 void setHullFraction(int index, float hullFraction);
80 float getHullFraction(int index);
81 boolean isDetached(int index);
82
83 boolean needsRepairs();
84
85 void setPermaDetached(int index, Boolean detached);
86
87 boolean isPermaDetached(int index);
88
90
91 void applyDamage(float hitStrength, float forceHullFractionDamage);
92
93}
void setDetached(int index, Boolean detached)
void setPermaDetached(int index, Boolean detached)
void applyDamage(float hitStrength, float forceHullFractionDamage)
void setHullFraction(int index, float hullFraction)
void applyHullFractionDamage(float fraction, int index)