diff --git a/modules/GameObject.py b/modules/GameObject.py index 0f96f79..22fd82d 100644 --- a/modules/GameObject.py +++ b/modules/GameObject.py @@ -214,4 +214,7 @@ class Block(GameObject): class Player(GameObject): #Later handles the Player-Gameobject def __init__(self, name: str, surface, mainscreensize: tuple, posx_init: int = 0, posy_init: int = 0, move_speed: int = 0, is_player: bool = False, is_rect: bool = True, rect_size: tuple = (10, 10)) -> None: - super().__init__(name, surface, mainscreensize, posx_init, posy_init, move_speed, is_player, is_rect, rect_size) \ No newline at end of file + super().__init__(name, surface, mainscreensize, posx_init, posy_init, move_speed, is_player, is_rect, rect_size) + + def user_test_func(self): + pass \ No newline at end of file diff --git a/pygame-test.py b/pygame-test.py index c2b11f8..9293dcf 100644 --- a/pygame-test.py +++ b/pygame-test.py @@ -18,6 +18,9 @@ active = True clock = pygame.time.Clock() #TODO: Make Grid for running Rect +"""TODO: Add new controlstructure for User-class on first login + Actually buggy if player logsin the first time, because there is no playerselected before there was an insterquery!!! +"""