Starsector API
Loading...
Searching...
No Matches
FighterWingAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.combat;
2
3import java.util.List;
4
5import com.fs.starfarer.api.loading.FighterWingSpecAPI;
6import com.fs.starfarer.api.loading.FormationType;
7import com.fs.starfarer.api.loading.WingRole;
8
9public interface FighterWingAPI {
10
11 public static class ReturningFighter {
12 public ShipAPI fighter;
13 public FighterLaunchBayAPI bay;
14 public ReturningFighter(ShipAPI fighter, FighterLaunchBayAPI bay) {
15 this.fighter = fighter;
16 this.bay = bay;
17 }
18 }
19
25 FighterWingAPI.ReturningFighter getReturnData(ShipAPI fighter);
26
27
29 void setWingOwner(int owner);
30
31 List<ShipAPI> getWingMembers();
32
33 WingRole getRole();
34 FormationType getFormation();
35
36 boolean isDestroyed();
37
38 String getWingId();
39
40 boolean isAlly();
41
43
45
47
48 float getRange();
49
50 FighterWingSpecAPI getSpec();
51
52
53 boolean isReturning(ShipAPI fighter);
54 void orderReturn(ShipAPI fighter);
55 void stopReturning(ShipAPI fighter);
56
57
58 List<ReturningFighter> getReturning();
59
60
61 void removeMember(ShipAPI member);
62
64}
65
66
67
68
void setSourceBay(FighterLaunchBayAPI sourceBay)
List< ReturningFighter > getReturning()
FighterWingAPI.ReturningFighter getReturnData(ShipAPI fighter)
boolean isReturning(ShipAPI fighter)