C# Class TrafficManager.CustomAI.CustomCargoTruckAI

Inheritance: CarAI
Mostra file Open project: seiggy/Skylines-Traffic-Manager

Public Methods

Method Description
CustomSimulationStep ( ushort vehicleId, Vehicle &data, Vector3 physicsLodRefPos ) : void
StartPathFind2 ( ushort vehicleId, Vehicle &vehicleData, Vector3 startPos, Vector3 endPos, bool startBothWays, bool endBothWays ) : bool

Protected Methods

Method Description
BaseSimulationStep ( ushort vehicleId, Vehicle &data, Vector3 physicsLodRefPos ) : void

Private Methods

Method Description
RemoveOffers ( ushort vehicleId, Vehicle &data ) : void

Method Details

BaseSimulationStep() protected method

protected BaseSimulationStep ( ushort vehicleId, Vehicle &data, Vector3 physicsLodRefPos ) : void
vehicleId ushort
data Vehicle
physicsLodRefPos Vector3
return void

CustomSimulationStep() public method

public CustomSimulationStep ( ushort vehicleId, Vehicle &data, Vector3 physicsLodRefPos ) : void
vehicleId ushort
data Vehicle
physicsLodRefPos Vector3
return void

StartPathFind2() public method

public StartPathFind2 ( ushort vehicleId, Vehicle &vehicleData, Vector3 startPos, Vector3 endPos, bool startBothWays, bool endBothWays ) : bool
vehicleId ushort
vehicleData Vehicle
startPos Vector3
endPos Vector3
startBothWays bool
endBothWays bool
return bool