Class TextEvent

All Implemented Interfaces:
Cloneable, Iterable<String>, Serializable

public class TextEvent extends RPEvent
A public text message.
Author:
hendrik
  • Constructor Details

    • TextEvent

      public TextEvent(String text)
      Creates a new text event.
      Parameters:
      text - Message contents.
    • TextEvent

      public TextEvent(String text, int rangeSquared)
      Creates a new text event.
      Parameters:
      text - Message contents.
      rangeSquared - Distance squared within which message can be heard (-1 represents entire map).
  • Method Details

    • generateRPClass

      public static void generateRPClass()
      Creates the rpclass.