Sorry but you just have not understood the concept of class and object.
You create a new class for which nothing but a new object is needed ...
gold etc is only a name and does not need its own class. just its own value in the type "material" or similar ...
You create a new class for which nothing but a new object is needed ...
gold etc is only a name and does not need its own class. just its own value in the type "material" or similar ...