refactor: remove unneeded pass
This commit is contained in:
@@ -24,7 +24,6 @@ class Game:
|
||||
|
||||
def initialize(self) -> None:
|
||||
pygame.init()
|
||||
MultiplayerService.init()
|
||||
TextGenerator.load(ConfigurationManager.get("image", "font"), (20, 20))
|
||||
|
||||
win_width = ConfigurationManager.get("window", "width")
|
||||
@@ -47,7 +46,7 @@ class Game:
|
||||
|
||||
main_music_file = ConfigurationManager.get("sound", "main-music")
|
||||
self.main_music.set_volume(0.7) # TODO add volume to the config
|
||||
#self.main_music.play(mixer.Sound(main_music_file), -1)
|
||||
self.main_music.play(mixer.Sound(main_music_file), -1)
|
||||
|
||||
# gets called from the games main loop
|
||||
def update(self) -> None:
|
||||
|
||||
@@ -139,7 +139,6 @@ class PieceDto():
|
||||
self.x = x
|
||||
self.y = y
|
||||
self.type = type_
|
||||
pass
|
||||
|
||||
@staticmethod
|
||||
def create(data: Dict) -> "PieceDto":
|
||||
|
||||
Reference in New Issue
Block a user