share/man: Update man for `nitpretty`
[nit.git] / examples / mnit_dino / src / game_logic.nit
index 1df0119..8d1a849 100644 (file)
@@ -386,7 +386,8 @@ class Bush super Entity end
 
 # Sort entities on screen in order of Y, entities in the back are drawn first
 class EntitiesSorter
-       super AbstractSorter[Entity]
+       super Comparator
+       redef type COMPARED: Entity
 
        redef fun compare(a, b) do return b.pos.y <=> a.pos.y
 end