Sort move list using the specified point array so the highest point move come first
View code on GitHub Namespace: ChessAssembly: Chess (in Chess.exe) Version: 1.1.1.0 (1.1.1)
protected static List<ChessBoard MovePosS> SortMoveList(
List<ChessBoard MovePosS> moveList,
int[] arrPoints
)
protected static List<ChessBoard..::..MovePosS> SortMoveList(
List<ChessBoard..::..MovePosS> moveList,
int[] arrPoints
)
Protected Shared Function SortMoveList (
moveList As List(Of ChessBoard MovePosS),
arrPoints As Integer()
) As List(Of ChessBoard MovePosS)
Protected Shared Function SortMoveList (
moveList As List(Of ChessBoard..::..MovePosS),
arrPoints As Integer()
) As List(Of ChessBoard..::..MovePosS)
protected:
static List<ChessBoard MovePosS>^ SortMoveList(
List<ChessBoard MovePosS>^ moveList,
array<int>^ arrPoints
)
protected:
static List<ChessBoard..::..MovePosS>^ SortMoveList(
List<ChessBoard..::..MovePosS>^ moveList,
array<int>^ arrPoints
)
static member SortMoveList :
moveList : List<ChessBoard MovePosS> *
arrPoints : int[] -> List<ChessBoard MovePosS>
static member SortMoveList :
moveList : List<ChessBoard..::..MovePosS> *
arrPoints : int[] -> List<ChessBoard..::..MovePosS>
Return Value
Type:
List ChessBoard MovePosS
Sorted move list