<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fire_event(self, event, *args, **kwargs):
 """Fires a event."""

        self.event_queue.append((event, args))
        self.process_events()