Open Rails

AI Constructor

[This is preliminary documentation and subject to change.]

Loads AI train information from activity file. Creates a queue of AI trains in the order they should appear. At the moment AI trains are also created off scene so the rendering code will know about them.

Overload List

public AI(Simulator)

Loads AI train information from activity file. Creates a queue of AI trains in the order they should appear. At the moment AI trains are also created off scene so the rendering code will know about them.

public AI(Simulator,LoaderProcess,double)

public AI(Simulator,List<TTTrain>,double,int,FormCommand,TTTrain,LoaderProcess)

public AI(Simulator,BinaryReader)

public AI(Simulator,BinaryReader,bool)

See Also

AI Class | ORTS Namespace