void DoMove() { if (grid.HasPath) { //selectedUnit.Location = currentCell; selectedUnit.Traval(grid.GetPath()); grid.ClearPath(); } }