public TekMoves(TekBoard board) { _moves = new Stack <TekPlay>(); _board = board; _snapshots = new TekSnapShot(Board); _snapshots.AutoRemove = true; }
void DoReset(bool initial = false) { if (!initial) { CloseHeuristicLog(); } listBox1.Items.Clear(); heuristics.Reset(); if (!initial) { View.ResetValues(); } bStart.Enabled = true; Snapshots = new TekSnapShot(View.Board); Snapshots.AutoRemove = false; }