Add pymunk category constants.
authorSimon Cross <hodgestar@gmail.com>
Sun, 4 Sep 2016 20:39:02 +0000 (22:39 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sun, 4 Sep 2016 20:39:02 +0000 (22:39 +0200)
tabakrolletjie/constants.py

index 6f2af9c9b6bbff3516ce32b2d534adc224faa4e6..d5aebb68043ae3d73a18ac2e35371b540c3c0cae 100644 (file)
@@ -8,3 +8,7 @@ SCREEN_SIZE = (1024, 704)
 
 # Frame per second
 FPS = 60
+
+# Pymunk categories
+OBSTACLE_CATEGORY = 1 << 0
+LIGHT_CATEGORY = 1 << 1