public VehicleWheel this[int index] { get { VehicleWheel vehicleWheel = null; if (!_vehicleWheels.TryGetValue(index, out vehicleWheel)) { vehicleWheel = new VehicleWheel(_owner, index); _vehicleWheels.Add(index, vehicleWheel); } return(vehicleWheel); } }
public void BurstTire(VehicleWheel wheel) { Function.Call(Natives.BURST_CAR_TYRE, m_handle, (int)wheel); }
public bool IsTireBurst(VehicleWheel wheel) { return(Function.Call <bool>(Natives.IS_CAR_TYRE_BURST, m_handle, (int)wheel)); }