Class WoodlandMansionPieces.SimpleGrid

  • Enclosing class:
    WoodlandMansionPieces

    static class WoodlandMansionPieces.SimpleGrid
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int[][] grid  
      private int height  
      private int valueIfOutside  
      private int width  
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleGrid​(int p_i47358_1_, int p_i47358_2_, int p_i47358_3_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean edgesTo​(int p_191147_1_, int p_191147_2_, int p_191147_3_)  
      int get​(int p_191145_1_, int p_191145_2_)  
      void set​(int p_191144_1_, int p_191144_2_, int p_191144_3_)  
      void set​(int p_191142_1_, int p_191142_2_, int p_191142_3_, int p_191142_4_, int p_191142_5_)  
      void setif​(int p_197588_1_, int p_197588_2_, int p_197588_3_, int p_197588_4_)  
      • Methods inherited from class java.lang.Object

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

      • grid

        private final int[][] grid
      • width

        private final int width
      • height

        private final int height
      • valueIfOutside

        private final int valueIfOutside
    • Constructor Detail

      • SimpleGrid

        public SimpleGrid​(int p_i47358_1_,
                          int p_i47358_2_,
                          int p_i47358_3_)
    • Method Detail

      • set

        public void set​(int p_191144_1_,
                        int p_191144_2_,
                        int p_191144_3_)
      • set

        public void set​(int p_191142_1_,
                        int p_191142_2_,
                        int p_191142_3_,
                        int p_191142_4_,
                        int p_191142_5_)
      • get

        public int get​(int p_191145_1_,
                       int p_191145_2_)
      • setif

        public void setif​(int p_197588_1_,
                          int p_197588_2_,
                          int p_197588_3_,
                          int p_197588_4_)
      • edgesTo

        public boolean edgesTo​(int p_191147_1_,
                               int p_191147_2_,
                               int p_191147_3_)