C# Class MingStar.SimUniversity.AI.GameState

显示文件 Open project: MingStar/SimUniversity Class Usage Examples

Public Methods

Method Description
GameState ( IPlayerMove move, double scores ) : System
GameState ( double scores ) : System
GameState ( int numberOfScores, double initScore ) : System
GetMoveList ( ) : List
this ( int index ) : double

Private Methods

Method Description
AddToList ( List list ) : void
TakeIfBetter ( GameState nextScoredMove, int scoreIndex, IPlayerMove thisMove ) : void

Method Details

GameState() public method

public GameState ( IPlayerMove move, double scores ) : System
move IPlayerMove
scores double
return System

GameState() public method

public GameState ( double scores ) : System
scores double
return System

GameState() public method

public GameState ( int numberOfScores, double initScore ) : System
numberOfScores int
initScore double
return System

GetMoveList() public method

public GetMoveList ( ) : List
return List

this() public method

public this ( int index ) : double
index int
return double