Skip to content

Commit

Permalink
Docstring updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkauzh committed Jan 28, 2024
1 parent 1938efa commit 39360c9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fusionengine/engine/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,16 @@ def is_fullscreen(self) -> bool:

def get_screensafer_allowed(self) -> bool:
"""
Returns if the window is in fullscreen mode.
Returns if the window is in screensafer mode.
Returns:
bool: True if fullscreen else false
bool: True if screensafer else false
"""
return pg.display.get_allow_screensaver()

def toggle_screensafer_allowed(self) -> None:
"""
Toggles if the window is in fullscreen mode.
Toggles screensafer mode.
"""
self._screensafer = not self._screensafer

Expand All @@ -143,7 +143,7 @@ def get_vsync_enabled(self) -> bool:
Returns if the window is in vsync mode.
Returns:
bool: True if fullscreen else false
bool: True if vsync else false
"""
return pg.display.is_vsync()

Expand Down

0 comments on commit 39360c9

Please sign in to comment.