Class ChangeSet.MessageChange<T extends Message>

    • Field Detail

      • message

        private final T extends Message message
    • Constructor Detail

      • MessageChange

        public MessageChange​(ChangeSet.See see,
                             T message)
        Build a new MessageChange.
        Parameters:
        see - The visibility of this change.
        message - The Message to add.
    • Method Detail

      • toMessage

        public T toMessage​(Player player)
        Specialize a Change for a particular player.
        Specified by:
        toMessage in class ChangeSet.Change<T extends Message>
        Parameters:
        player - The Player to update.
        Returns:
        A specialized Message.
      • toString

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