M_PurpleKingdomGames_Core_Collections_BinaryHeap_1_Sort - PurpleKingdomGames/CoreLibs GitHub Wiki
Resort the heap from the specified index. Used when an items value changes
Namespace: PurpleKingdomGames.Core.Collections
Assembly: PurpleKingdomGamesCore (in PurpleKingdomGamesCore.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public void Sort(
int index
)
- index
- Type: System.Int32
The index of the item that changed value
Exception | Condition |
---|---|
ArgumentOutOfRangeException | If the index is out of range |
BinaryHeap(T) Class
PurpleKingdomGames.Core.Collections Namespace