20 package net.sf.gridarta.model.validation.errors;
26 import org.jetbrains.annotations.NotNull;
32 public class MapSquareFormatter<G
extends GameObject<G, A, R>, A extends
MapArchObject<A>, R extends
Archetype<G, A, R>> implements
Formatter<G, A, R, MapSquare<G, A, R>> {
42 return obj.getMapX() +
"|" + obj.getMapY();
47 final int y1 = o1.getMapY();
48 final int y2 = o2.getMapY();
49 final int cmp = Integer.compare(y1, y2);
54 final int x1 = o1.getMapX();
55 final int x2 = o2.getMapX();
56 return Integer.compare(x1, x2);