public revert_tree_history ( int symbolCount ) : void | ||
symbolCount | int | |
리턴 | void |
public void revert_tree_history(int symbolCount)
{
Debug.Assert(symbolCount >= 0);
int historyLength = this.History.Count;
Debug.Assert(historyLength >= symbolCount);
//int newSize = historyLength - symbolCount;
//this.history = this.history.GetRange(0, new_size);
this.History.RemoveRange(historyLength-symbolCount, symbolCount);
}