Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Cell"></param>
 /// <returns></returns>
 public int GetDirection(int Cell)
 {
     return(Directions[TransitCells.Count == 1 ? 0 : TransitCells.IndexOf(Cell) + 1]);
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Cell"></param>
 /// <param name="Direction"></param>
 public void AddCell(int Cell, int Direction)
 {
     TransitCells.Add(Cell);
     Directions.Add(Direction);
 }