Class ViewChangeEvent

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

public class ViewChangeEvent extends RPEvent
Event for requesting change in the map area the client displays. Normally the view is centered on the player but this event tells the client to use a different center point.
  • Constructor Details

    • ViewChangeEvent

      public ViewChangeEvent(int x, int y)
      Create a new view change event.
      Parameters:
      x - x coordinate of the requested view center
      y - y coordinate of the requested view center
  • Method Details

    • generateRPClass

      public static void generateRPClass()
      Creates the rpclass.