for (String transporter : transporters) {
// TroopSpace:
if (transporter.startsWith("TroopSpace:", 0)) {
// Everything after the ':' should be the space's size.
Double fsize = new Double(transporter.substring(11));
t.addTransporter(new TroopSpace(fsize.doubleValue()));
}
} // Handle the next transportation component.
} // End has-transporters