public bool remove(EventTrigger a_eveTrigger) { return m_triggers.Remove(a_eveTrigger); }
private void addTrigger(EventTrigger a_eveTrigger) { if (m_selectedEvent != null) { m_events[m_selectedEvent].add(a_eveTrigger); Button t_buttonToAdd = new Button("btn_asset_list", new Vector2(700, 100 + ((m_effects.Count) * 30)), a_eveTrigger.ToString(), null, Color.Yellow, new Vector2(10, 2)); t_buttonToAdd.m_clickEvent += new Button.clickDelegate(selectEffTri); m_buttonsToAdd.Push(t_buttonToAdd); m_triggers.Add(t_buttonToAdd, a_eveTrigger); } }
public void add(EventTrigger a_eveTrigger) { m_triggers.AddLast(a_eveTrigger); }