Package com.fs.starfarer.api.fleet
Interface CrewCompositionAPI
public interface CrewCompositionAPI
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAll
(CrewCompositionAPI other) void
addCrew
(float quantity) void
addMarines
(float marines) Generally not set for most crews, but useful to have here for use during boarding/loss calculation/etc.void
addToCargo
(CargoAPI cargo) void
clear()
float
getCrew()
int
float
Generally not set for most crews, but useful to have here for use during boarding/loss calculation/etc.void
multiplyBy
(float mult) void
removeAll
(CrewCompositionAPI other) void
void
removeFromCargo
(CargoAPI cargo) void
setCrew
(float quantity) void
setMarines
(float marines) Generally not set for most crews, but useful to have here for use during boarding/loss calculation/etc.void
transfer
(float quantity, CrewCompositionAPI dest)
-
Method Details
-
getCrew
float getCrew() -
setMarines
void setMarines(float marines) Generally not set for most crews, but useful to have here for use during boarding/loss calculation/etc.- Parameters:
marines
-
-
getMarines
float getMarines()Generally not set for most crews, but useful to have here for use during boarding/loss calculation/etc. -
addMarines
void addMarines(float marines) Generally not set for most crews, but useful to have here for use during boarding/loss calculation/etc.- Parameters:
marines
-
-
removeAllCrew
void removeAllCrew() -
transfer
-
addCrew
void addCrew(float quantity) -
addAll
-
removeAll
-
multiplyBy
void multiplyBy(float mult) -
addToCargo
-
removeFromCargo
-
clear
void clear() -
setCrew
void setCrew(float quantity) -
getCrewInt
int getCrewInt()
-