/// <summary> /// Performs ability's initialization. /// </summary> /// <param name="context">The environment context.</param> public void Initialize(IEnvironmentContext context) { m_visitedCells = new Dictionary <MazeCell, long>(); m_myCell = new MazeCell(0, 0); }
private WalkDirection PrepareResult(WalkDirection?direction) { m_myCell = GetNewAroundCell(direction.Value); return(direction.Value); }