I have working classes, each has a method that increases the count. a specific resource. In the Resources class there are closed static static fields denoting count. each resource, as well as getters, setters.
How to make an increase in the resource work?
To do in the class of the working instance Resources , from the instance to get and increase the amount of the resource, or not to make the instance and access through the open methods Resources.getWoodAmount() and Resources.setWoodAmount() ?
Resourcesmethod with a visa which will increase the desired value - Bohdan Korinnyi