Open Rails

AI.ActivityUpdate Method

[This is preliminary documentation and subject to change.]

Updates AI train information - activity mode Creates any AI trains that are scheduled to appear. Moves all active AI trains by calling their Update method. And finally, removes any AI trains that have reached the end of their path.

public void ActivityUpdate(
   float elapsedClockSeconds
);

See Also

AI Class | ORTS Namespace