From: Simon Cross Date: Sun, 4 Sep 2016 20:39:02 +0000 (+0200) Subject: Add pymunk category constants. X-Git-Tag: tabakrolletjie-v1.0.0~249 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=0210328efd8d57ae06719e540ad9384331b950e0;p=tabakrolletjie.git Add pymunk category constants. --- 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