M_PurpleKingdomGames_Core_Collections_BinaryHeap_1_Sort - PurpleKingdomGames/CoreLibs GitHub Wiki

BinaryHeap(T).Sort Method

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)

Syntax

C#

public void Sort(
	int index
)

Parameters

 

index
Type: System.Int32
The index of the item that changed value

Exceptions

 

Exception Condition
ArgumentOutOfRangeException If the index is out of range

See Also

Reference

BinaryHeap(T) Class
PurpleKingdomGames.Core.Collections Namespace

⚠️ **GitHub.com Fallback** ⚠️