Lotsa things: a Priority class to dlea with priorities, an Event class to shape an event, an EventManager class to gather all the events and trigger them