def close(self): super(Manager_MoveView, self).close() rog.update_game() rog.update_hud() if self.result == "center": rog.view_center_player()
def update(self, *args, **kwargs): super(Observer_playerChange, self).update() '''if not args: return print(args) if (args[0] == 'x' or args[0] == 'y' or args[0] == 'stats.nrg' ): ''' rog.update_game() rog.update_hud()
def update(self, *args,**kwargs): super(Observer_playerChange, self).update() rog.update_game() rog.update_hud()
def _Update(): rog.update_game() rog.update_fov(rog.pc()) ## rog.update_final() rog.update_hud()