src/core/managers.py
def update(self, dt):
        """Checks if a state is done or has called for a game quit.
        State is flipped if neccessary and State.update is called."""
        self.current_time = pg.time.get_ticks()
        if self._scene.quit:
            pg.mouse.set_visible(True)
            self.done = True
        elif self._scene.done:
            self.change_scene()
        self._scene.update(dt)
        self._scene.draw(self.screen)
Checks if a state is done or has called for a game quit.
        State is flipped if neccessary and State.update is called.
Checks if a state is done or has called for a game quit.
State is flipped if neccessary and State.update is called.
Checks if a state is done or has called for a game quit . State is flipped if neccessary and State . update is called .
def update(self, dt):
        self.current_time = pg.time.get_ticks()
        if self._scene.quit:
            pg.mouse.set_visible(True)
            self.done = True
        elif self._scene.done:
            self.change_scene()
        self._scene.update(dt)
        self._scene.draw(self.screen)
def update ( self , dt ) : self . current_time = pg . time . get_ticks ( ) if self . _scene . quit : pg . mouse . set_visible ( True ) self . done = True elif self . _scene . done : self . change_scene ( ) self . _scene . update ( dt ) self . _scene . draw ( self . screen )
Checks if a state is done or has called for a game quit.
Checks if a state is done or has called for a game quit .
"""Checks if a state is done or has called for a game quit.
        State is flipped if neccessary and State.update is called."""
self
dt