src/core/managers.py
def event_loop(self):
        """Process all events and pass them down to current State.  The f5 key
        globally turns on/off the display of FPS in the caption"""
        for event in pg.event.get():
            if event.type == pg.QUIT:
                self.done = True
            elif event.type == pg.KEYDOWN:
                self.keys = pg.key.get_pressed()
                self.toggle_show_fps(event.key)
            elif event.type == pg.KEYUP:
                self.keys = pg.key.get_pressed()
                self.toggle_fullscreen(event.key)
            self._scene.get_event(event)
Process all events and pass them down to current State.  The f5 key
        globally turns on/off the display of FPS in the caption
Process all events and pass them down to current State.  The f5 key
globally turns on/off the display of FPS in the caption
Process all events and pass them down to current State . The f5 key globally turns on / off the display of FPS in the caption
def event_loop(self):
        for event in pg.event.get():
            if event.type == pg.QUIT:
                self.done = True
            elif event.type == pg.KEYDOWN:
                self.keys = pg.key.get_pressed()
                self.toggle_show_fps(event.key)
            elif event.type == pg.KEYUP:
                self.keys = pg.key.get_pressed()
                self.toggle_fullscreen(event.key)
            self._scene.get_event(event)
def event_loop ( self ) : for event in pg . event . get ( ) : if event . type == pg . QUIT : self . done = True elif event . type == pg . KEYDOWN : self . keys = pg . key . get_pressed ( ) self . toggle_show_fps ( event . key ) elif event . type == pg . KEYUP : self . keys = pg . key . get_pressed ( ) self . toggle_fullscreen ( event . key ) self . _scene . get_event ( event )
Process all events and pass them down to current State.
Process all events and pass them down to current State .
"""Process all events and pass them down to current State.  The f5 key
        globally turns on/off the display of FPS in the caption"""
self