pursuedpybear
pursuedpybear copied to clipboard
[WIP] Refactor colors
🚨 This is a breaking change, affecting the parameters when defining shapes and setting a scene's background color. 🚨
Addresses issue #449.
Done:
- Created
colors
module to represent RGB colors - Refactored
Shape
colors,Scene
background color, andText
color to use the newColor
class - Fixed example code and test code to use the new
Color
class - Write tests for
colors
Next steps:
- Add more ways to define colors (by hex? by name?)