diff options
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +import pyxel + +def if_continue_button(): + for k in [ + pyxel.KEY_KP_ENTER, pyxel.KEY_RETURN, pyxel.KEY_SPACE + ]: + if pyxel.btnp(k): + return True + return False |