Esempio n. 1
0
 private void completeMisc(MiscName m)
 {
     switch(m) {
     case MiscName.Trash:
         itemName = "Trash";
         itemDescription = "";
         weight = 4;
         value = 10;
         break;
     case MiscName.Thing:
         itemName = "Thing";
         itemDescription = "";
         weight = 4;
         value = 10;
         break;
     case MiscName.Stuff:
         itemName = "Stuff";
         itemDescription = "";
         weight = 4;
         value = 10;
         break;
     default:
         break;
     }
 }
Esempio n. 2
0
 public Misc(MiscName miscName)
 {
     this.miscName = miscName;
     baseItemType = BaseItemType.Misc;
     completeMisc(miscName);
 }