36 return mAllowed[nStep][nLane] != 0;
Reference-counted array of script data nodes.
Definition dataarray.h:20
DuelPattern(const DataArray *pLanes)
Read a grid from three symbols, one per lane, where x at a step allows a gem.
bool IsAllowed(int nStep, int nLane) const
Report whether a step allows a gem in a lane.
Definition duelpattern.h:35
constexpr int kDuelPatternLanes
Gem lanes of a pattern.
Definition duelpattern.h:6
constexpr int kDuelPatternSteps
Steps of a pattern, one bar.
Definition duelpattern.h:9