destroy all full rows, saving flags for destroyed rows; returns count of destroyed rows, 0 if no rows destroyed
New figure: put it on top of cup
random next figure
inits empty cup of specified size
return true if cell is currently falling
check if all cells where specified figure is located are free
check if all cells where current figire is located are free
check if all cells where current figire is located are free
returns true if specified row is full
mark cells in _cellGroups[] matrix which can fall down (value > 0 is distance to fall)
try to move current figure, returns true if figure rotated
moves all falling cells one cell down returns true if there are more cells to fall
returns cell content at specified position
set cell value
put current figure into cup at current position and orientation
try to rotate current figure, returns true if figure rotated
returns number of columns
current figure index, orientation, position
returns true if at least one row is full
returns true if next figure is generated
next figure
returns number of columns
Cup content
Coordinates are relative to bottom left corner.