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