def receive_update(self, event):
        if e_event_type(event) == 'hit points changed':
            self.show_hit_points(e_character(event))
        elif e_event_type(event) == 'spirit points changed':
            self.show_spirit_points(e_character(event))
Receive update from entity
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/gui/widgets.py/HitPointsWidget.receive_update