updated docstrings to follow google styling, changed checking of hardware to only happen once
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user