projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5474df9
)
Add pymunk category constants.
author
Simon Cross
<hodgestar@gmail.com>
Sun, 4 Sep 2016 20:39:02 +0000
(22:39 +0200)
committer
Simon Cross
<hodgestar@gmail.com>
Sun, 4 Sep 2016 20:39:02 +0000
(22:39 +0200)
tabakrolletjie/constants.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/constants.py
b/tabakrolletjie/constants.py
index 6f2af9c9b6bbff3516ce32b2d534adc224faa4e6..d5aebb68043ae3d73a18ac2e35371b540c3c0cae 100644
(file)
--- 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