예제 #1
0
        public void Register(IGameEventSource eventSource)
        {
            eventSource.EventOccurred += EventSourceOnEventOccurred;

            _eventSources.Add(eventSource);
        }
예제 #2
0
 public GameEventArgs(string eventName, IGameEventSource invoker)
 {
     this.EventName   = eventName;
     this.EventSource = invoker;
 }