From 27c7e16e4bd808ce1176f18b7a78c02ff4fa88ee Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Thu, 28 Mar 2024 23:34:19 +0200 Subject: fonts under text, more sprite.Groups --- src/sliceitoff/game/anykey.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sliceitoff/game/anykey.py') diff --git a/src/sliceitoff/game/anykey.py b/src/sliceitoff/game/anykey.py index 6fd48a2..bd2a3c7 100644 --- a/src/sliceitoff/game/anykey.py +++ b/src/sliceitoff/game/anykey.py @@ -1,6 +1,8 @@ +""" game.anykey - Event waiting. Used for skipping screens. """ import pygame def anykey(): + """ Anything but mouse movement gives True """ for event in pygame.event.get(): if event.type in (pygame.MOUSEBUTTONDOWN, pygame.KEYDOWN, pygame.QUIT): return True -- cgit v1.2.3