Game Development Reference
In-Depth Information
}
catch (Exception exception)
{
System.Diagnostics.Debug.WriteLine(exception.Message);
throw;
}
}
public void Remove(object key)
{
_jobList[key].JobTimer.Dispose();
_jobList.Remove(key);
}
public JobBase this[object key]
{
get { return _jobList[key]; }
set { _jobList[key] = value; }
}
public void Trigger(ScheduleMode mode, Object userData)
{
if (Triggered != null)
{
Triggered(this, new JobTriggeredEventArgs(mode, userData));
}
}
public void IDisposable.Dispose()
{
foreach (JobBase job in _jobList.Values)
{
job.JobTimer.Dispose();
}
}
public event EventHandler<JobTriggeredEventArgs> Triggered;
}
Search Nedrilad ::




Custom Search