private Step CreateStepFromDragg(Point dropLocation) { Cell targetCell = GetCellFromLocation(dropLocation); List <Step> steps = game.AllStepOptionsForPlayer(Game.Player.Client.ToString()); foreach (Step step in steps) { if (step.DstCellRow == targetCell.Row && step.DstCellCol == targetCell.Col && step.SrcCellRow == draggSrcCell.Row && step.SrcCellCol == draggSrcCell.Col) { return(step); } } return(null); }