Class GuardRegionRelation


  • public class GuardRegionRelation
    extends UnitRelation
    A relation indicating that the source unit changes its battle status
    • Field Detail

      • guard

        public int guard
        The guard status.
    • Constructor Detail

      • GuardRegionRelation

        public GuardRegionRelation​(Unit s,
                                   int newStatus,
                                   int line)
        Creates a new CombatStatusRelation.
        Parameters:
        s - The source unit
        newStatus - new guarding bevaviour (true or false)
        line - The line in the source's orders