public void setVehicle(string vehicleId) { if (string.IsNullOrEmpty(vehicleId)) { partsVehicle = null; } else { partsVehicle = new HeroPartsItem(id, vehicleId); } }
public void setBody(string bodyId) { partsBody = new HeroPartsItem(id, bodyId); }
public void setWeapon(string weaponId) { partsWeapon = new HeroPartsItem(id, weaponId); }
public void setHead(string headId) { partsHead = new HeroPartsItem(id, headId); }