Package games.stendhal.client.entity
Class LoopedSoundSource
java.lang.Object
games.stendhal.client.entity.Entity
games.stendhal.client.entity.InvisibleEntity
games.stendhal.client.entity.LoopedSoundSource
- All Implemented Interfaces:
IEntity
,RPObjectChangeListener
LoopedSoundSource is the source of a repeated sound, the player can
hear in a limited area.
-
Field Summary
Fields inherited from class games.stendhal.client.entity.Entity
clazz, inAdd, name, rpObject, title, type, x, y
Fields inherited from interface games.stendhal.client.entity.IEntity
PROP_ANIMATED, PROP_CLASS, PROP_NAME, PROP_POSITION, PROP_SIZE, PROP_STATE, PROP_TITLE, PROP_VISIBILITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChangedAdded(RPObject object, RPObject changes)
The object added/changed attribute(s).void
release()
Release this entity.Methods inherited from class games.stendhal.client.entity.Entity
addChangeListener, addContentChangeListener, fireChange, getArea, getCursor, getEntityClass, getEntitySubclass, getHeight, getID, getName, getObjectID, getPath, getResistance, getResistance, getRPObject, getSlot, getTitle, getType, getVisibility, getWidth, getX, getY, initialize, isObstacle, isOnGround, isUser, onAdded, onChangedRemoved, onPosition, onRemoved, onSlotAdded, onSlotChangedAdded, onSlotChangedRemoved, onSlotRemoved, processPositioning, removeChangeListener, removeContentChangeListener, toString, update
-
Constructor Details
-
LoopedSoundSource
public LoopedSoundSource()
-
-
Method Details
-
onChangedAdded
Description copied from class:Entity
The object added/changed attribute(s).- Specified by:
onChangedAdded
in interfaceRPObjectChangeListener
- Overrides:
onChangedAdded
in classEntity
- Parameters:
object
- The base object.changes
- The changes.
-
release
public void release()Release this entity. This should clean anything that isn't automatically released (such as unregister callbacks, cancel external operations, etc).- Specified by:
release
in interfaceIEntity
- Overrides:
release
in classEntity
- See Also:
Entity.initialize(RPObject)
-