Class UnitOrdersEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      UnitOrdersEvent​(java.lang.Object source, Unit unit)
      Creates an event for a change of a single unit.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Unit getUnit()
      Returns the unit which orders changed.
      java.lang.String toString()  
      • Methods inherited from class java.util.EventObject

        getSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnitOrdersEvent

        public UnitOrdersEvent​(java.lang.Object source,
                               Unit unit)
        Creates an event for a change of a single unit.
        Parameters:
        source -
        unit -
    • Method Detail

      • getUnit

        public Unit getUnit()
        Returns the unit which orders changed.