dlangui v0.9.187 (2022-04-16T10:49:25Z)
Home
Dub
Repo
CupWidget.setCupState
gui
CupWidget
change game state, init state animation when necessary
class
CupWidget
void
setCupState
(
CupState
state
)
Meta
Source
See Implementation
gui
CupWidget
constructors
this
functions
addScore
animate
cellRect
destroyFullRows
drawCell
drawFigure
handleAction
handleFastDown
initialize
measure
newGame
nextFigure
onAnimationFinished
onDraw
onKeyEvent
setCupState
setLevel
properties
animating
falling
static variables
LEVEL_SPEED
MIN_FAST_FALLING_INTERVAL
NEXT_LEVEL_SCORE
RESERVED_ROWS
ROWS_FALLING_INTERVAL
variables
_animation
_cols
_cup
_fastDownFlag
_level
_movementDuration
_rows
_score
_state
_totalRowsDestroyed
change game state, init state animation when necessary