Class EntityYComparator

java.lang.Object
de.gurkenlabs.litiengine.entities.EntityYComparator
All Implemented Interfaces:
Comparator<IEntity>

public class EntityYComparator extends Object implements Comparator<IEntity>
This Comparator implementation sorts entities by the max y-coordinate of their collision box (if its a ICollisionEntity) or of their bounding box.
See Also:
  • Constructor Details

    • EntityYComparator

      public EntityYComparator()
  • Method Details