Changed tooltip from except to raises

This commit is contained in:
Marcin Kostrzewski 2020-05-14 16:18:29 +02:00
parent 085446ea93
commit c806d99d49

View File

@ -22,7 +22,7 @@ class Screen:
:param gameObject: Game object :param gameObject: Game object
:param windowConfig: A dictionary with window settings. :param windowConfig: A dictionary with window settings.
:except KeyError :raises KeyError
""" """
self.gameObject = gameObject self.gameObject = gameObject
self.winX = windowConfig["width"] self.winX = windowConfig["width"]
@ -97,7 +97,7 @@ class Screen:
def __initUi__(self): def __initUi__(self):
""" """
Creates entire UI Creates entire UI
""" """
self.ui = Ui(self.getUiWidth(Locations.RIGHT_UI), self.getUiWidth(Locations.LEFT_UI), self.winY, self.ui = Ui(self.getUiWidth(Locations.RIGHT_UI), self.getUiWidth(Locations.LEFT_UI), self.winY,
self.gameObject.ingameTimer) self.gameObject.ingameTimer)