Class RelativeEntityComparator

java.lang.Object
de.gurkenlabs.litiengine.entities.RelativeEntityComparator
All Implemented Interfaces:
java.util.Comparator<IEntity>
Direct Known Subclasses:
EntityDistanceComparator

public abstract class RelativeEntityComparator
extends java.lang.Object
implements java.util.Comparator<IEntity>
  • Constructor Summary

    Constructors 
    ModifierConstructorDescription
    protected RelativeEntityComparator() 
    protected RelativeEntityComparator​(IEntity relativeEntity) 
  • Method Summary

    Modifier and TypeMethodDescription
    IEntitygetRelativeEntity() 
    voidsetRelativeEntity​(IEntity relativeEntity) 

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Comparator

    compare, equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong