Class EnterRelation


  • public class EnterRelation
    extends UnitContainerRelation
    A relation indicating that a unit enters a unit container.
    • Constructor Detail

      • EnterRelation

        public EnterRelation​(Unit s,
                             UnitContainer t,
                             int line)
        Creates a new EnterRelation object.
        Parameters:
        s - The source unit
        t - The target container
        line - The line in the source's orders