public abstract class EntityTransformAdapter extends java.lang.Object implements EntityTransformListener
EntityTransformListener that allows to only overwrite
individual callbacks in anonymous implementations.EntityTransformListener| Constructor and Description |
|---|
EntityTransformAdapter() |
| 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. |
public void locationChanged(IEntity entity)
EntityTransformListenerIEntity was changed.locationChanged in interface EntityTransformListenerentity - The entity that changed its location.IEntity.setLocation(java.awt.geom.Point2D),
IEntity.setLocation(double, double),
IEntity.setX(double),
IEntity.setY(double)public void sizeChanged(IEntity entity)
EntityTransformListenerIEntity was changed.sizeChanged in interface EntityTransformListenerentity - The entity that changed its size.IEntity.setSize(float, float),
IEntity.setHeight(float),
IEntity.setWidth(float)