updated docstrings to follow google styling, changed checking of hardware to only happen once

This commit is contained in:
2023-05-12 11:20:00 -04:00
parent f56f775541
commit 65365adc3d
5 changed files with 82 additions and 53 deletions

View File

@@ -6,7 +6,18 @@ from ..io.input_handler import InputHandler
class Surface(pygame.Surface):
"""
"""
def __init__(self, window_size, resources_dir, game_fps, **kwargs):
"""
Args:
window_size:
resources_dir:
game_fps:
**kwargs:
"""
super().__init__(window_size, pygame.SRCALPHA)
self.name = 'selection_info'
self.running = True