Class UnitTransferRelation

  • public class UnitTransferRelation
    extends TransferRelation
    A relation indicating that a unit is transferred as a whole to another unit.
    • Field Detail

      • race

        public final Race race
        The source unit's race
    • Constructor Detail

      • UnitTransferRelation

        public UnitTransferRelation​(Unit s,
                                    Unit t,
                                    Race r,
                                    int line)
        Creates a new UnitTransferRelation object.
        s - The source unit
        t - The target unit
        r - The race of the source unit
        line - The line in the source's orders