public interface EntityTransformListener
extends java.util.EventListener
Entity was moved or changed its size.| Modifier and Type | Method and Description |
|---|---|
void |
locationChanged(IEntity entity)
This method is called whenever the location of an
IEntity was changed. |
void |
sizeChanged(IEntity entity)
This method is called whenever the size of an
IEntity was changed. |
void locationChanged(IEntity entity)
IEntity was changed.entity - The entity that changed its location.IEntity.setLocation(java.awt.geom.Point2D),
IEntity.setLocation(double, double),
IEntity.setX(double),
IEntity.setY(double)void sizeChanged(IEntity entity)
IEntity was changed.entity - The entity that changed its size.IEntity.setSize(float, float),
IEntity.setHeight(float),
IEntity.setWidth(float)