C# Class DebutsLib.MoveNode

Simple part of Debutes Tree class
Afficher le fichier Open project: Ribtoks/Queem Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

Add() public méthode

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
Résultat MoveNode

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetRandomNode() public méthode

Gets random reply on last move
public GetRandomNode ( ) : MoveNode
Résultat MoveNode

MoveNode() public méthode

public MoveNode ( Move from ) : System
from Queem.Core.Move
Résultat System

MoveNode() public méthode

public MoveNode ( MoveNode from ) : System
from MoveNode
Résultat System

MoveNode() public méthode

public MoveNode ( string from, PlayerPosition whitePos ) : System
from string
whitePos PlayerPosition
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

operator() public static méthode

public static operator ( ) : bool
Résultat bool