X-Git-Url: https://git.ctpug.org.za/?p=tabakrolletjie.git;a=blobdiff_plain;f=tabakrolletjie%2Fconstants.py;h=63e13dd63ebf6f53ec36567469642373203d263b;hp=0ea58f52a260aba732d68e84a8f8be7b2652bf0a;hb=923e068edb27b9b6d35359e496668038a1db6fa4;hpb=48c809306d2aaf6ed2487aad4970138601d74a60 diff --git a/tabakrolletjie/constants.py b/tabakrolletjie/constants.py index 0ea58f5..63e13dd 100644 --- a/tabakrolletjie/constants.py +++ b/tabakrolletjie/constants.py @@ -17,10 +17,10 @@ SCREEN_SIZE = (1024, 704) # Frame per second FPS = 30 -# Night length in ticks +# Night length in ticks and hours NIGHT_LENGTH = 1500 -# Night length in hours NIGHT_LENGTH_HOURS = 12 +NIGHT_HOURS_PER_TICK = float(NIGHT_LENGTH_HOURS) / NIGHT_LENGTH # Pymunk categories OBSTACLE_CATEGORY = 1 << 0