internal void ClearPathData() { PathLengthFromStart = 0; HeuristicEstimatePathLength = 0; EstimateFullPathLength = int.MaxValue; State = StateTile.Undefined; PriorTile = null; }
public async Task <IActionResult> Save(StateTile tile) { if (ModelState.IsValid) { return(await SaveBaseTile(ConfigStore, tile)); } return(View("Add", tile)); }
public async Task <IActionResult> Save(StateTile tile) { if (ModelState.IsValid) { return(await SaveBaseTile(ConfigStore, tile)); } ViewBag.Entities = (await EntityClient.GetEntities()).OrderBy(e => e).Select(e => new SelectListItem(e, e)); return(View("Add", tile)); }