Esempio n. 1
0
 public void add_resourcezone(ResourceZoneObj zone)
 {
     if (!this.resourceZoneList.Contains(zone))// fix this. this needs to check the zone num.
     {
         this.resourceZoneList.Add(zone);
     }
 }
Esempio n. 2
0
 public ResourceObj(string resource, int quality, int amount, ResourceZoneObj rzone)
 {
     this.resource = resource;
     this.quality = quality;
     this.amount = amount;
     this.parentRzone = rzone;
 }