From 639b9a9884e2eb6594cd1292ee3dd985bc3ae2f0 Mon Sep 17 00:00:00 2001 From: Hanine Date: Tue, 27 Feb 2024 17:15:51 +0100 Subject: [PATCH] Add docstrings --- constants.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/constants.py b/constants.py index 9ca60ee..5f3fca8 100644 --- a/constants.py +++ b/constants.py @@ -2,11 +2,11 @@ Simulation Constants """ - -class SimColor: """ Tuples corresponding to RGB colors """ +class SimColor: + LIGHT_GREY = (240, 240, 240) DARK_GREY = (30, 30, 50) BLACK = (0, 0, 0) @@ -16,10 +16,11 @@ class SimColor: UNEXPOSED = (0, 120, 240) -class Disease: """ Constants for disease """ +class Disease: + INFECTED = 0 RECOVERED = 1 UNEXPOSED = 2 @@ -33,10 +34,11 @@ class Disease: } -class Screen: """ Constants for Screen """ +class Screen: + WIDTH = 680 HEIGHT = 480 FONT_SIZE = 18