Class Region.Visibility

  • Enclosing interface:
    Region

    public static class Region.Visibility
    extends java.lang.Object
    0..very poor - no info (->visibility=null)
    1..neighbour
    2..lighthouse
    3..travel
    4..qualified unit in region (->visibility=null)
    • Constructor Detail

      • Visibility

        protected Visibility​(int vis,
                             java.lang.String name)
    • Method Detail

      • ordinal

        protected int ordinal()
      • greaterEqual

        public boolean greaterEqual​(Region.Visibility other)
        Returns true if this is at least other.
      • lessEqual

        public boolean lessEqual​(Region.Visibility other)
        Returns true if other is at least this.
      • lessThan

        public boolean lessThan​(Region.Visibility other)
        Returns true if other is more than this.
      • greaterThan

        public boolean greaterThan​(Region.Visibility other)
        Returns true if this is at least other.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()