예제 #1
0
 public void SetVehicleRestrictions(uint laneId, TAMVehicleType vehicleRestrictions)
 {
     GetLane(laneId).m_vehicleTypes = vehicleRestrictions;
 }
예제 #2
0
 public void ToggleVehicleRestriction(uint laneId, TAMVehicleType vehicleType)
 {
     GetLane(laneId).m_vehicleTypes ^= vehicleType;
 }
예제 #3
0
 public bool CanUseLane(TAMVehicleType vehicleType, uint laneId)
 {
     return((GetLane(laneId).m_vehicleTypes & vehicleType) != TAMVehicleType.None);
 }