feat(startscreen): add class for buttons

This commit is contained in:
Kevin Baumgartner
2026-05-07 19:25:16 +02:00
parent deff75bda3
commit 8f68bf841d
+20
View File
@@ -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