private void SendResource(Gatherer g) { if (content > 0) { g.ReceiveResource(material); content--; } }