Some cleanup

Todo: Change controlstructure for user who logged in the first time
This commit is contained in:
2024-01-07 22:12:56 +01:00
parent 40839589f0
commit 3e56abba63
2 changed files with 7 additions and 1 deletions

View File

@@ -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)
super().__init__(name, surface, mainscreensize, posx_init, posy_init, move_speed, is_player, is_rect, rect_size)
def user_test_func(self):
pass

View File

@@ -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!!!
"""