diff --git a/src/button.py b/src/button.py new file mode 100644 index 0000000..e4be086 --- /dev/null +++ b/src/button.py @@ -0,0 +1,20 @@ +import pygame + +class Button: + def __init__(self, text, width, height, pos_x, pos_y, color, hover): + self.text = text + self.width = width + self.height = height + self.pos_x = pos_x + self.pos_y = pos_y + self.color = color + self.hover = hover + + # todo + + def draw(self, screen): + action = False + + # todo + + return action \ No newline at end of file