Class PersonTransferRelation

  • Direct Known Subclasses:

    public class PersonTransferRelation
    extends TransferRelation
    A relation indicating that a unit transfers a certain amount of persons to another unit.
    • Field Detail

      • race

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

      • PersonTransferRelation

        public PersonTransferRelation​(Unit source,
                                      Unit target,
                                      int amount,
                                      Race race,
                                      int line)
        Creates a new PersonTransferRelation object.
        source - The source unit
        target - The target unit
        amount - The amount to transfer
        race - The race of the source Unit
        line - The line in the source's orders