C# Class DebutsLib.DebutGraph

Class, that represents a simple map for moves
Mostrar archivo Open project: Ribtoks/Queem Class Usage Examples

Public Methods

Method Description
AddMoves ( PlayerPosition whitePos ) : void

Adds all moves to Tree

CheckMoves ( List moves ) : MoveIterator

Checks if we have debut answer for moves

DebutGraph ( ) : System
GetIterator ( MoveNode firstMove ) : MoveIterator

Looks for beginning of move search

Method Details

AddMoves() public method

Adds all moves to Tree
public AddMoves ( PlayerPosition whitePos ) : void
whitePos PlayerPosition Position of white figures on board
return void

CheckMoves() public method

Checks if we have debut answer for moves
public CheckMoves ( List moves ) : MoveIterator
moves List List of all moves
return MoveIterator

DebutGraph() public method

public DebutGraph ( ) : System
return System

GetIterator() public method

Looks for beginning of move search
public GetIterator ( MoveNode firstMove ) : MoveIterator
firstMove MoveNode
return MoveIterator