public Event_Processor(TactileLibrary.Event_Data data) { Id = -1; event_data = data; Key = ""; initialize(); }
public Event_Processor(int id) { Id = id; event_data = (Id == -1 ? null : Global.game_state.event_handler.event_data.Events[Id]); Key = Global.game_state.event_handler.name + Id; initialize(); }
public void add_event(TactileLibrary.Event_Data event_data) { Events.Add(new Event_Processor(event_data)); if (Events.Count == 1) { update_event(0); } }