Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docstrings #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -16,10 +16,11 @@ class SimColor:
UNEXPOSED = (0, 120, 240)


class Disease:
"""
Constants for disease
"""
class Disease:

INFECTED = 0
RECOVERED = 1
UNEXPOSED = 2
Expand All @@ -33,10 +34,11 @@ class Disease:
}


class Screen:
"""
Constants for Screen
"""
class Screen:

WIDTH = 680
HEIGHT = 480
FONT_SIZE = 18
Expand Down