11 lines
217 B
Java
Raw Normal View History

2021-05-20 15:52:20 +02:00
package engine.object;
import java.util.Comparator;
public class SortZ implements Comparator<ObjectGl>
{
public int compare(ObjectGl a, ObjectGl b)
{
return (int) (a.getZPos() - b.getZPos());
2021-05-20 15:52:20 +02:00
}
}