19 lines
403 B
Python
19 lines
403 B
Python
import pygame
|
|
|
|
class Label:
|
|
def __init__(self, surface:pygame.Surface, is_rect=False, pos=tuple) -> None:
|
|
self._surface = surface
|
|
self._is_rect = is_rect
|
|
self._pos = pos
|
|
|
|
|
|
def input_label(self):
|
|
pass
|
|
|
|
def draw(self):
|
|
if(self._is_rect):
|
|
print("Zeichne ein Rechteck")
|
|
|
|
else:
|
|
print("Zeichne Surface!")
|
|
pass |