parameters: (self, width, height)
docstring: Constructor method
docstring_summary: Constructor method
docstring_tokens: Constructor method
function: def __init__(self, width, height):
          """Constructor method"""
          self.dim = (width, height)
          font = pygame.font.Font(pygame.font.get_default_font(), 20)
          font_name = 'courier' if os.name == 'nt' else 'mono'
          fonts = [x for x in pygame.font.get_fonts() if font_name in x]
          default_font = 'ubuntumono'
          mono = default_font if default_font in fonts else fonts[0]
          mono = pygame.font.match_font(mono)
          self._font_mono = pygame.font.Font(mono, 12 if os.name == 'nt' else 14)
          self._notifications = FadingText(font, (width, 40), (0, height - 40))
          self.help = HelpText(pygame.font.Font(mono, 24), width, height)
          self.server_fps = 0
          self.frame = 0
          self.simulation_time = 0
          self._show_info = True
          self._info_text = []
          self._server_clock = pygame.time.Clock()
function_tokens: def __init__ ( self , width , height ) : self . dim = ( width , height ) font = pygame . font . Font ( pygame . font . get_default_font ( ) , 20 ) font_name = 'courier' if os . name == 'nt' else 'mono' fonts = [ x for x in pygame . font . get_fonts ( ) if font_name in x ] default_font = 'ubuntumono' mono = default_font if default_font in fonts else fonts [ 0 ] mono = pygame . font . match_font ( mono ) self . _font_mono = pygame . font . Font ( mono , 12 if os . name == 'nt' else 14 ) self . _notifications = FadingText ( font , ( width , 40 ) , ( 0 , height - 40 ) ) self . help = HelpText ( pygame . font . Font ( mono , 24 ) , width , height ) self . server_fps = 0 self . frame = 0 self . simulation_time = 0 self . _show_info = True self . _info_text = [ ] self . _server_clock = pygame . time . Clock ( )