Class Neighbourhood


  • public class Neighbourhood
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean enchantedEdges  
      int x  
      int y  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.ArrayList<java.lang.Integer> getAllX()  
      java.util.ArrayList<java.lang.Integer> getAllY()  
      void setAllX​(java.util.ArrayList<java.lang.Integer> x)  
      void setAllY​(java.util.ArrayList<java.lang.Integer> y)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • x

        public int x
      • y

        public int y
      • enchantedEdges

        public static boolean enchantedEdges
    • Constructor Detail

      • Neighbourhood

        public Neighbourhood()
      • Neighbourhood

        public Neighbourhood​(int x,
                             int y)
    • Method Detail

      • setAllX

        public void setAllX​(java.util.ArrayList<java.lang.Integer> x)
      • setAllY

        public void setAllY​(java.util.ArrayList<java.lang.Integer> y)
      • getAllX

        public java.util.ArrayList<java.lang.Integer> getAllX()
      • getAllY

        public java.util.ArrayList<java.lang.Integer> getAllY()