package de.gurkenlabs.litiengine.entities;

import java.util.EventObject;

public class EntityMovedEvent extends EventObject {
  private static final long serialVersionUID = 2931711179495514204L;
  private final transient IEntity entity;
  private final double deltaX;
  private final double deltaY;

  public EntityMovedEvent(IMobileEntity entity, double deltaX, double deltaY) {
    super(entity);
    this.entity = entity;
    this.deltaX = deltaX;
    this.deltaY = deltaY;
  }

  public IEntity getEntity() {
    return this.entity;
  }

  public double getDeltaX() {
    return this.deltaX;
  }

  public double getDeltaY() {
    return this.deltaY;
  }
}

Add missing event.