diff --git a/squirrelbattle/display/menudisplay.py b/squirrelbattle/display/menudisplay.py index f8df5ee..a9d0d2d 100644 --- a/squirrelbattle/display/menudisplay.py +++ b/squirrelbattle/display/menudisplay.py @@ -6,6 +6,9 @@ from ..resources import ResourceManager class MenuDisplay(Display): + """ + A class to display the menu objects + """ position: int def __init__(self, *args): @@ -62,6 +65,9 @@ class MenuDisplay(Display): class SettingsMenuDisplay(MenuDisplay): + """ + A class to display specifically a settingsmenu object + """ @property def values(self) -> List[str]: return [a[1][1] + (" : " @@ -71,6 +77,9 @@ class SettingsMenuDisplay(MenuDisplay): class MainMenuDisplay(Display): + """ + A class to display specifically a mainmenu object + """ def __init__(self, menu: MainMenu, *args): super().__init__(*args) self.menu = menu @@ -96,6 +105,9 @@ class MainMenuDisplay(Display): self.height - menuy), menuwidth) class VariableMenuDisplay(MenuDisplay): + """ + A class to display a menu in which each value is associated to a parameter + """ @property def values(self) -> List[str]: return [a[1][1] + (" : "