Ejemplo n.º 1
0
//C++ TO C# CONVERTER WARNING: 'const' methods are not available in C#:
//ORIGINAL LINE: void GetHistory(ScoreMoveList &moveList) const
        public void GetHistory(ScoreMoveList moveList)
        {
            moveList.clear();
            for (uint i = 0; i < size(); i++)
            {
                if (0 < nodeStack[i].moves.size())
                {
                    moveList.push_back(nodeStack[i].moves.front());
                }
            }
        }
Ejemplo n.º 2
0
    public void copy(ScoreMoveList moveListValue)
    {
//C++ TO C# CONVERTER TODO TASK: The memory management function 'memcpy' has no equivalent in C#:
        Array.Copy(moveListValue.moveList, moveList, moveListValue.size());
        index = moveListValue.index;
    }
Ejemplo n.º 3
0
 public Score(int scoreValue, ScoreMoveList moveListValue)
 {
     score = scoreValue;
     moveList.copy(moveListValue);
 }