Package games.stendhal.client.entity
Class Wall
java.lang.Object
games.stendhal.client.entity.Entity
games.stendhal.client.entity.Wall
- All Implemented Interfaces:
IEntity
,RPObjectChangeListener
Client side representation of a wall
- Author:
- hendrik
-
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 TypeMethodDescriptionboolean
isObstacle(IEntity entity)
Determine if this is an obstacle for another 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, isOnGround, isUser, onAdded, onChangedAdded, onChangedRemoved, onPosition, onRemoved, onSlotAdded, onSlotChangedAdded, onSlotChangedRemoved, onSlotRemoved, processPositioning, release, removeChangeListener, removeContentChangeListener, toString, update
-
Constructor Details
-
Wall
public Wall()
-
-
Method Details
-
isObstacle
Description copied from interface:IEntity
Determine if this is an obstacle for another entity.- Specified by:
isObstacle
in interfaceIEntity
- Overrides:
isObstacle
in classEntity
- Parameters:
entity
- The entity to check against.- Returns:
true
the entity can not enter this entity's area.
-