Package io.keikai.ui.impl
Class UnlockedCellsHelper
- java.lang.Object
-
- io.keikai.ui.impl.UnlockedCellsHelper
-
- All Implemented Interfaces:
Serializable
public class UnlockedCellsHelper extends Object implements Serializable
A utility class for calculating position of unlocked cells. Each unlocked cells of a row or a column is stored as aUnlockedCellsHelper.UnlockedCellInfo
in this helper.- Since:
- 3.8.1
- Author:
- henrichen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnlockedCellsHelper.UnlockedCellInfo
-
Constructor Summary
Constructors Constructor Description UnlockedCellsHelper(List<UnlockedCellsHelper.UnlockedCellInfo> infos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnlockedCellsHelper.UnlockedCellInfo
getInfo(int cellIndex)
List<UnlockedCellsHelper.UnlockedCellInfo>
getInfos()
int
getNextUnlocked(int start)
int
getPrevUnlocked(int start)
boolean
isUnlocked(int cellIndex)
String
toString()
-
-
-
Constructor Detail
-
UnlockedCellsHelper
public UnlockedCellsHelper(List<UnlockedCellsHelper.UnlockedCellInfo> infos)
-
-
Method Detail
-
getInfos
public List<UnlockedCellsHelper.UnlockedCellInfo> getInfos()
-
isUnlocked
public boolean isUnlocked(int cellIndex)
-
getNextUnlocked
public int getNextUnlocked(int start)
-
getPrevUnlocked
public int getPrevUnlocked(int start)
-
getInfo
public UnlockedCellsHelper.UnlockedCellInfo getInfo(int cellIndex)
-
-