Ejemplo n.º 1
0
 private void MoveToDestinationTrack()
 {
     // TODO: don't use Destinations[Rand], only for testing
     _track = _platform.Destinations[_nextTrack];
     _track.Occupy(this);
     _platform.Unoccupy();
     _platform = null;
     _nextTrack = MathUtils.Rand(0, _track.Destinations.Count - 1);
 }