summaryrefslogtreecommitdiff
path: root/pycameltris/misc.py
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2021-03-13 12:34:08 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2021-03-13 16:29:50 +0100
commit6f6b6ceb8a1bca2d7ab08528ddb64f49e71b7283 (patch)
tree4502eb5acb6bd5c313ceae057a9060b7ffed2e84 /pycameltris/misc.py
parent11ed646b1fa625e746a935762ed5ff03f1de05c0 (diff)
Allow to pause the game
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'pycameltris/misc.py')
-rw-r--r--pycameltris/misc.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pycameltris/misc.py b/pycameltris/misc.py
new file mode 100644
index 0000000..11c2358
--- /dev/null
+++ b/pycameltris/misc.py
@@ -0,0 +1,6 @@
+class Pause(Exception):
+ pass
+
+class UnPause(Exception):
+ pass
+