From 0210328efd8d57ae06719e540ad9384331b950e0 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 4 Sep 2016 22:39:02 +0200 Subject: [PATCH] Add pymunk category constants. --- tabakrolletjie/constants.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tabakrolletjie/constants.py b/tabakrolletjie/constants.py index 6f2af9c..d5aebb6 100644 --- a/tabakrolletjie/constants.py +++ b/tabakrolletjie/constants.py @@ -8,3 +8,7 @@ SCREEN_SIZE = (1024, 704) # Frame per second FPS = 60 + +# Pymunk categories +OBSTACLE_CATEGORY = 1 << 0 +LIGHT_CATEGORY = 1 << 1 -- 2.34.1