예제 #1
0
 public void PushEvent(EventBase evnt)
 {
     for (int i = 0; i < m_listeners.Count; ++i)
     {
         if (m_listeners[i].GetEventType() == evnt.GetEventType())
         {
             if (m_listeners[i].Execute(evnt))
             {
                 return;
             }
         }
     }
 }