dlangui ~master (2022-06-02T17:41:37Z)
Home
Dub
Repo
Cup.rotate
model
Cup
try to rotate current figure, returns true if figure rotated
struct
Cup
bool
rotate
(
int
angle
,
bool
falling
)
Meta
Source
See Implementation
model
Cup
functions
destroyFullRows
dropNextFigure
genNextFigure
initialize
isCellFalling
isPositionFree
isPositionFreeBelow
isRowFull
markFallingCells
move
moveFallingCells
opIndex
opIndexAssign
putFigure
rotate
properties
cols
currentFigure
hasFullRows
hasNextFigure
nextFigure
rows
try to rotate current figure, returns true if figure rotated