summaryrefslogtreecommitdiff
path: root/src/sliceitoff/game/anykey.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/game/anykey.py')
-rw-r--r--src/sliceitoff/game/anykey.py2
1 files changed, 2 insertions, 0 deletions
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