Class RationalAI.CompCreaturesByValueName

  • All Implemented Interfaces:
    java.util.Comparator<CreatureType>
    Enclosing class:
    RationalAI

    public class RationalAI.CompCreaturesByValueName
    extends java.lang.Object
    implements java.util.Comparator<CreatureType>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Legion legion  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(CreatureType creature1, CreatureType creature2)  
      • 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

        equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Field Detail

      • legion

        private final Legion legion
    • Constructor Detail

      • CompCreaturesByValueName

        public CompCreaturesByValueName​(Legion legion)