dlangui v0.10.4 (2023-05-19T16:58:48Z)
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