示例#1
0
文件: Event.cs 项目: theKyuu/GLhf
 public bool remove(EventTrigger a_eveTrigger)
 {
     return m_triggers.Remove(a_eveTrigger);
 }
示例#2
0
        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);
            }
        }
示例#3
0
文件: Event.cs 项目: theKyuu/GLhf
 public void add(EventTrigger a_eveTrigger)
 {
     m_triggers.AddLast(a_eveTrigger);
 }