Interface IMessageReceiver

All Known Subinterfaces:
CommandSender
All Known Implementing Classes:
ConsoleSender, PlayerRef, Universe, World

public interface IMessageReceiver
An interface that defines a message receiver capable of receiving messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to send a message to this receiver.
  • Method Details

    • sendMessage

      void sendMessage(@Nonnull Message message)
      Called to send a message to this receiver.
      Parameters:
      message - The message to be sent.