refactor: remove unneeded pass

This commit is contained in:
2021-07-06 15:16:05 -04:00
parent 15588c3d74
commit 83d2ddbc6b
2 changed files with 1 additions and 3 deletions

View File

@@ -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:

View File

@@ -139,7 +139,6 @@ class PieceDto():
self.x = x
self.y = y
self.type = type_
pass
@staticmethod
def create(data: Dict) -> "PieceDto":