Interface MessageRenderer

  • All Known Implementing Classes:
    AllanonMessageRenderer, E3AMessageRenderer, EresseaMessageRenderer

    public interface MessageRenderer
    An interface defining the render Method each MessageRenderer should have. A Message Renderer should only be used to render ONE Message. This allows to store parsing information in an implementing class. A constructor should get all general background information. This would be generally a GameData object.
    Version:
    1.0, 02.12.2007
    Author:
    Ralf Duckstein
    • Method Detail

      • renderMessage

        java.lang.String renderMessage​(Message msg)
        Renders a Message
        Parameters:
        msg - The Message to render
        Returns:
        the rendered String. This should be stored in the msg.text from the calling method.