def on_notify(self, event):
        if event in self.event_dict:
            self.event_dict[event]()
Notify Observer of event.
dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/observer.py/Battle.on_notify