Changed tooltip from except to raises
This commit is contained in:
parent
085446ea93
commit
c806d99d49
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user