public static void AddDemonJob(DemonJob j) { InitOpenJobs(); openDemonJobs.AddLast(j); }
public static void MaxDemonPriority(DemonJob j) { if (openDemonJobs.Contains(j)) { openDemonJobs.Remove(j); } openDemonJobs.AddFirst(j); }