Package games.stendhal.server.events
Class ImageEffectEvent
java.lang.Object
marauroa.common.game.Attributes
marauroa.common.game.SlotOwner
marauroa.common.game.RPEvent
games.stendhal.server.events.ImageEffectEvent
- All Implemented Interfaces:
Cloneable
,Iterable<String>
,Serializable
An event that tells the client to display an image sequence at an entity or
location.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionImageEffectEvent(String image, boolean attached)
Create a new ImageEffectEvent.ImageEffectEvent(String image, int x, int y)
Create a new ImageEffectEvent at a specified location. -
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
-
ImageEffectEvent
Create a new ImageEffectEvent.- Parameters:
image
- image nameattached
- iftrue
, the effect will be bound for its life time to the source entity
-
ImageEffectEvent
Create a new ImageEffectEvent at a specified location.- Parameters:
image
- image namex
- x coordinate of the effecty
- y coordinate of the effect
-
-
Method Details
-
generateRPClass
public static void generateRPClass()Creates the rpclass.
-