Interface EngineMessageReceiver


public interface EngineMessageReceiver
This class is designed to be the class that implementors of EngineMessageBroadcaster use to fire messages to the engine and its visible components.

Basically, if a EngineElement is supposed to hear messages, it should fire its messages through this object so that it is broadcast to all listening components.

Author:
Matthew Tropiano
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendMessage(Object type, Object... arguments)
    Should be called to fire a message to broadcast through the engine.
  • Method Details

    • sendMessage

      void sendMessage(Object type, Object... arguments)
      Should be called to fire a message to broadcast through the engine.
      Parameters:
      type - the message type.
      arguments - the arguments to pass along with the message.