Class ChangeSet.SpyChange

    • Field Detail

      • unit

        private final Unit unit
    • Constructor Detail

      • SpyChange

        public SpyChange​(ChangeSet.See see,
                         Unit unit,
                         Settlement settlement)
        Build a new SpyChange.
        Parameters:
        see - The visibility of this change.
        unit - The Unit that is spying.
        settlement - The Settlement to spy on.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object