going-rogue/erynrl/interface/color.py
Eryn Wells 5a9df0a322 Add my first interface element: a Bar!
It renders a bar of a certain width and a percentage full. Use it to render HP.

Add a new Python package called interface. The Bar class lives there. Also add a
bunch of color defintions to a module called interface.color.
2022-05-15 00:12:05 -07:00

10 lines
No EOL
150 B
Python

# Eryn Wells <eryn@erynwells.me>
'''
A bunch of colors.
'''
BLACK = (0, 0, 0)
WHITE = (255, 255, 255)
GREY10 = (26, 26, 26)
GREY50 = (128, 128, 128)