Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
 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");
     }
 }
Esempio n. 3
0
        private bool FindStop()
        {
            SMFlowBase exitFlowItem = ChildArray.ToList().Find(c => c is SMReturnStop) as SMFlowBase;

            if (exitFlowItem != null)
            {
                _currentFlowItem = exitFlowItem;
                return(true);
            }
            return(false);
        }
Esempio n. 4
0
 /// <summary>
 /// Evaluate all the Path Segments and look for targets
 /// </summary>
 public void DetermineAllChildTargets()
 {
     ChildArray.ToList().ForEach(c => (c as SMFlowBase).DetermineAllPathTargets());
 }