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