dlangui v0.10.2 (2022-12-17T17:39:40Z)
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