public void InitTilesArray(int x, int z) { f_tiles = new ChildArray[x]; for (int i = 0; i < x; i++) { f_tiles[i] = new ChildArray(z); } }
private void FindStart() { _currentFlowItem = ChildArray.ToList().Find(c => c is SMStart) as SMFlowBase; if (_currentFlowItem == null) { throw new Exception("Unable to find the Start Flow chart element"); } }
private bool FindStop() { SMFlowBase exitFlowItem = ChildArray.ToList().Find(c => c is SMReturnStop) as SMFlowBase; if (exitFlowItem != null) { _currentFlowItem = exitFlowItem; return(true); } return(false); }
/// <summary> /// Evaluate all the Path Segments and look for targets /// </summary> public void DetermineAllChildTargets() { ChildArray.ToList().ForEach(c => (c as SMFlowBase).DetermineAllPathTargets()); }