public Interior(string ipl, Vector3 vector3, InteriorLocation location, InteriorType type) { IplName = ipl; Position = vector3; Location = location; Type = type; }
public Car(string name, string model, int weight, int numberOfTires, int enginePower, InteriorType interiorType, ColorType colorType, bool hasSensors) : base(name, model, weight, numberOfTires, enginePower) { InteriorType = interiorType; ColorType = colorType; HasSensors = hasSensors; }
public Interior(string name, InteriorType type = InteriorType.Gta, bool isInteriorMap = true) { Name = name; Vehicles = new List <Vehicle>(); Props = new List <Prop>(); Peds = new List <Ped>(); Type = type; IsInteriorMap = isInteriorMap; Loaded = false; }
public void SetInteriorTypes() { //black, black leather, beige, white, white/gold InteriorType.Add(new SelectListItem() { Value = "Black", Text = "Black" }); InteriorType.Add(new SelectListItem() { Value = "Black Leather", Text = "Black Leather" }); InteriorType.Add(new SelectListItem() { Value = "Beige", Text = "Beige" }); InteriorType.Add(new SelectListItem() { Value = "White", Text = "White" }); InteriorType.Add(new SelectListItem() { Value = "White/Gold", Text = "White/Gold" }); InteriorType.Add(new SelectListItem() { Value = "Suede", Text = "Suede" }); InteriorType.Add(new SelectListItem() { Value = "Gray", Text = "Gray" }); }
public GameObject GetRoomPrefab(InteriorType roomType) { return(roomLoader.Get(roomType)); }