Class UnlockedCellsHelper.UnlockedCellInfo

  • Enclosing class:
    UnlockedCellsHelper

    public static class UnlockedCellsHelper.UnlockedCellInfo
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int end  
      int start  
    • Constructor Summary

      Constructors 
      Constructor Description
      UnlockedCellInfo​(int start, int end)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isUnlocked​(int cellIndex)
      Returns whether the specified cellIndex is within range of this UnlockedCellInfo.
      void shift​(int offset)  
      • Methods inherited from class java.lang.Object

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

      • start

        public int start
      • end

        public int end
    • Constructor Detail

      • UnlockedCellInfo

        public UnlockedCellInfo​(int start,
                                int end)
    • Method Detail

      • shift

        public void shift​(int offset)
      • isUnlocked

        public boolean isUnlocked​(int cellIndex)
        Returns whether the specified cellIndex is within range of this UnlockedCellInfo.
        Parameters:
        cellIndex -
        Returns: