OpenBveApi.Runtime.Handles.Handles C# (CSharp) Method

Handles() public method

Creates a new instance of this class.
public Handles ( int reverser, int powerNotch, int brakeNotch, bool constSpeed ) : System
reverser int The current reverser position.
powerNotch int The current power notch.
brakeNotch int The current brake notch.
constSpeed bool Whether the const speed system is enabled.
return System
		public Handles(int reverser, int powerNotch, int brakeNotch, bool constSpeed) {
			this.MyReverser = reverser;
			this.MyPowerNotch = powerNotch;
			this.MyBrakeNotch = brakeNotch;
			this.MyConstSpeed = constSpeed;
		}
	}
Handles