Refactor AI movement (#1222)

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2020-06-29 01:42:44 +10:00
committed by GitHub
parent 23cc6b1d4e
commit 24831bf8a0
8 changed files with 843 additions and 497 deletions

View File

@@ -20,7 +20,7 @@ namespace Content.Server.GameObjects.EntitySystems.JobQueues.Queues
/// How long the job's allowed to run for before suspending
/// </summary>
public virtual double MaxTime => 0.002;
private readonly Queue<IJob> _pendingQueue = new Queue<IJob>();
private readonly List<IJob> _waitingJobs = new List<IJob>();