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