Ad
  • Default User Avatar

    Why is there a class? There are three arguments collection id amount, but collection is treated differently.. for some reason?
    If it's a class, a service, that suggests it being persistent, does that mean that spare resources should be kept between calls to totalRaw?

    totalRaw(collection, id, amount) {
      // code...
    }
    

    Also, why does producing 1 stone cost null instead of 1 stone?