MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / pause

Function pause

examples/space_invaders/space_invaders.py:541–546  ·  view source on GitHub ↗

Pause the game.

(session, window, state)

Source from the content-addressed store, hash-verified

539
540
541def pause(session, window, state):
542 """Pause the game."""
543 msg = render_message(session, window, "pause_message", 15, 15)
544 prompt(window)
545 msg.blank(window)
546 session.delete(msg)
547
548
549def prompt(window):

Callers 1

move_playerFunction · 0.85

Calls 4

render_messageFunction · 0.85
promptFunction · 0.85
blankMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected