tetris.controls module¶
- class tetris.controls.Controls(settings: Settings)¶
Bases:
objectClass for the controls screen
- check_events() bool | None¶
Checks for events
- Returns:
True if go back button is pressed, None otherwise
- Return type:
(bool | None)
- create_controls() None¶
Creates the controls
- create_title() None¶
Creates the title of the controls
- draw_controls() None¶
Draws the controls
- draw_title() None¶
Draws the controls title
- main() None¶
Main method for the controls screen, draws everything and checks for events