Exemple #1
0
 public void build(CustomBarnDwellerData data, string objectID)
 {
     ID       = objectID;
     texture  = Helper.Content.Load <Texture2D>(Path.Combine("Animals", data.folderName, data.texture));
     Data     = data;
     Type     = data.type;
     barnHome = data.barnHome;
     coopHome = data.coopHome;
     index    = data.index;
     price    = data.price;
 }
Exemple #2
0
 public CustomBarnDweller(CustomBarnDwellerData data, string objectID)
 {
     build(data, objectID);
 }