Some cleanup
Todo: Change controlstructure for user who logged in the first time
This commit is contained in:
@@ -214,4 +214,7 @@ class Block(GameObject):
|
|||||||
class Player(GameObject):
|
class Player(GameObject):
|
||||||
#Later handles the 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:
|
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
|
||||||
@@ -18,6 +18,9 @@ active = True
|
|||||||
clock = pygame.time.Clock()
|
clock = pygame.time.Clock()
|
||||||
|
|
||||||
#TODO: Make Grid for running Rect
|
#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!!!
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user