Class ItemLayerModel.FaceData

  • Enclosing class:
    ItemLayerModel

    private static class ItemLayerModel.FaceData
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.EnumMap<Direction,​java.util.BitSet> data  
      private int vMax  
    • Constructor Summary

      Constructors 
      Constructor Description
      FaceData​(int uMax, int vMax)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean get​(Direction facing, int u, int v)  
      private int getIndex​(int u, int v)  
      void set​(Direction facing, int u, int v)  
      • Methods inherited from class java.lang.Object

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

      • data

        private final java.util.EnumMap<Direction,​java.util.BitSet> data
      • vMax

        private final int vMax
    • Constructor Detail

      • FaceData

        FaceData​(int uMax,
                 int vMax)
    • Method Detail

      • set

        public void set​(Direction facing,
                        int u,
                        int v)
      • get

        public boolean get​(Direction facing,
                           int u,
                           int v)
      • getIndex

        private int getIndex​(int u,
                             int v)