AI engine changes (#1042)

This commit is contained in:
metalgearsloth
2020-05-02 19:19:22 +10:00
committed by GitHub
parent 4b50b151fe
commit e78ac25680
2 changed files with 6 additions and 1 deletions

View File

@@ -22,6 +22,11 @@ namespace Robust.Server.AI
/// </summary>
public virtual void Setup() { }
/// <summary>
/// One-Time shutdown when processor is done
/// </summary>
public virtual void Shutdown() {}
/// <summary>
/// Gives life to the AI.
/// </summary>

View File

@@ -37,7 +37,7 @@ namespace Robust.Shared.Utility
/// KeyValuePair or a custom class and provide corresponding Comparer.
/// </summary>
/// <typeparam name="T">Any comparable type, either through a specified Comparer or implementing IComparable&lt;<typeparamref name="T"/>&gt;</typeparam>
internal sealed class PriorityQueue<T> : ICollection<T>
public sealed class PriorityQueue<T> : ICollection<T>
{
private readonly IComparer<T> _comparer;
private T[] _heap;