Exemplo n.º 1
0
 /// <summary>
 ///     Fired when the simulation is closing and needs to clear out any data structures that it created so the program can
 ///     exit cleanly.
 /// </summary>
 public override void Destroy()
 {
     DistanceToNextLocation = 0;
     LocationIndex = 0;
     Trail = null;
 }
Exemplo n.º 2
0
 /// <summary>Forcefully inserts skip location into location list after current location.</summary>
 /// <param name="skipChoice">Location that the trail module will point to after current location.</param>
 public void InsertLocation(Location skipChoice)
 {
     Trail.InsertLocation(LocationIndex + 1, skipChoice);
 }