public bool CanBuy(Resources.ResourcesType type) { ResourceCollectionCost collec = new ResourceCollectionCost(type); bool res = resourcesConf.CanBuy(collec); return(res); }