Starsector API
Loading...
Searching...
No Matches
CrewCompositionAPI.java
Go to the documentation of this file.
1package com.fs.starfarer.api.fleet;
2
3import com.fs.starfarer.api.campaign.CargoAPI;
4
5public interface CrewCompositionAPI {
6 float getCrew();
7
8
13 void setMarines(float marines);
17 float getMarines();
18
19
24 void addMarines(float marines);
25
27
28 void transfer(float quantity, CrewCompositionAPI dest);
29 void addCrew(float quantity);
30
33
34 void multiplyBy(float mult);
35
36 void addToCargo(CargoAPI cargo);
37 void removeFromCargo(CargoAPI cargo);
38
39 void clear();
40 void setCrew(float quantity);
42}
void removeAll(CrewCompositionAPI other)
void addAll(CrewCompositionAPI other)
void transfer(float quantity, CrewCompositionAPI dest)