diff options
Diffstat (limited to 'cameltris')
-rw-r--r-- | cameltris/color.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cameltris/color.py b/cameltris/color.py index ac3e660..aec6d0d 100644 --- a/cameltris/color.py +++ b/cameltris/color.py @@ -1,7 +1,13 @@ +""" This modules defines color helpers """ + from enum import Enum class Color(Enum): + """ An enumeration of the different colors used in the game + This enumeration can be passed (using .value) to pygame functions that + expect a RGB tuple. + """ BLACK = (0, 0, 0) WHITE = (0XFF, 0XFF, 0XFF) BROWN = (163, 75, 31) |