Esempio n. 1
0
 public bool IsRegistered(ScheduledEvent evt)
 {
     return((events != null && events.Contains(evt)) || (eventsToAddNextTick != null && eventsToAddNextTick.Contains(evt)));
 }
Esempio n. 2
0
 public void RegisterEventPrototype(string name, ScheduledEvent eventPrototype)
 {
     PrototypeManager.SchedulerEvent.Add(name, eventPrototype);
 }
Esempio n. 3
0
 /// <summary>
 /// Registers an event prototype with PrototypeManager.
 /// </summary>
 public void RegisterEventPrototype(ScheduledEvent eventPrototype)
 {
     PrototypeManager.ScheduledEvent.Add(eventPrototype);
 }