Package games.stendhal.server.events
Class ViewChangeEvent
java.lang.Object
marauroa.common.game.Attributes
marauroa.common.game.SlotOwner
marauroa.common.game.RPEvent
games.stendhal.server.events.ViewChangeEvent
- All Implemented Interfaces:
Cloneable
,Iterable<String>
,Serializable
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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class marauroa.common.game.RPEvent
clone, equals, fill, getName, hashCode, readObject, setOwner, toString, writeObject, writeObject
Methods inherited from class marauroa.common.game.SlotOwner
addSlot, addSlot, deserializeRPSlots, fill, getSlot, hasSlot, removeSlot, serializeRPSlots, slots, slotsIterator, writeToJson
Methods inherited from class marauroa.common.game.Attributes
add, applyDifferences, clearVisible, get, getBool, getDouble, getInt, getList, getLong, getRPClass, has, instanceOf, isEmpty, iterator, put, put, put, put, put, readFromMap, remove, resetAddedAndDeletedAttributes, setAddedAttributes, setDeletedAttributes, setRPClass, setRPClass, size, toAttributeString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ViewChangeEvent
public ViewChangeEvent(int x, int y)Create a new view change event.- Parameters:
x
- x coordinate of the requested view centery
- y coordinate of the requested view center
-
-
Method Details
-
generateRPClass
public static void generateRPClass()Creates the rpclass.
-