Class EntityPivot

java.lang.Object
de.gurkenlabs.litiengine.entities.EntityPivot

public class EntityPivot extends Object
  • Constructor Details

    • EntityPivot

      public EntityPivot(IEntity entity, EntityPivotType type, double offsetX, double offsetY)
    • EntityPivot

      public EntityPivot(IEntity entity, Align align, Valign valign)
    • EntityPivot

      public EntityPivot(IEntity entity, double offsetX, double offsetY)
  • Method Details

    • getEntity

      public IEntity getEntity()
    • getType

      public EntityPivotType getType()
    • getOffsetX

      public double getOffsetX()
    • getOffsetY

      public double getOffsetY()
    • getPoint

      public Point2D getPoint()
    • setOffsetX

      public void setOffsetX(double offsetX)
    • setOffsetY

      public void setOffsetY(double offsetY)
    • setOffset

      public void setOffset(Point2D offset)