Starsector API
Loading...
Searching...
No Matches
ShipRolePick.java
Go to the documentation of this file.
1
4package com.fs.starfarer.api.fleet;
5
6public class ShipRolePick {
7 public String variantId;
8 public float weight = 1f;
9 public ShipRolePick(String variantId) {
10 this.variantId = variantId;
11 }
12 public boolean isFighterWing() {
13 return variantId != null && variantId.endsWith("_wing");
14 }
15}