C# Class DebutsLib.MoveNode

Simple part of Debutes Tree class
Mostrar archivo Open project: Ribtoks/Queem Class Usage Examples

Public Methods

Method Description
Add ( Move moveReply ) : MoveNode

Adds reply to certain move in moves map

Add ( string moveReply, PlayerPosition whitePos ) : MoveNode

Adds reply to certain move in moves map

Equals ( object obj ) : bool
GetHashCode ( ) : int
GetRandomNode ( ) : MoveNode

Gets random reply on last move

MoveNode ( Move from ) : System
MoveNode ( MoveNode from ) : System
MoveNode ( string from, PlayerPosition whitePos ) : System
ToString ( ) : string
operator ( ) : bool

Method Details

Add() public method

Adds reply to certain move in moves map
public Add ( Move moveReply ) : MoveNode
moveReply Queem.Core.Move Move-reply to add
return MoveNode

Add() public method

Adds reply to certain move in moves map
public Add ( string moveReply, PlayerPosition whitePos ) : MoveNode
moveReply string Move, represented by System.String
whitePos PlayerPosition Position of White figures on board
return MoveNode

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetRandomNode() public method

Gets random reply on last move
public GetRandomNode ( ) : MoveNode
return MoveNode

MoveNode() public method

public MoveNode ( Move from ) : System
from Queem.Core.Move
return System

MoveNode() public method

public MoveNode ( MoveNode from ) : System
from MoveNode
return System

MoveNode() public method

public MoveNode ( string from, PlayerPosition whitePos ) : System
from string
whitePos PlayerPosition
return System

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool