Commit 3a257c1a authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Add constructor of Color

parent 27a96e78
......@@ -15,6 +15,11 @@ class Color:
red: int
blue: int
def __init__(self, green, red, blue): = green = red = blue
def as_tuple(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment