yes but how do i concretely create an instance of main into resources, say from the exmaple i have posted in the first post of this thread?
Type: Posts; User: bondage
yes but how do i concretely create an instance of main into resources, say from the exmaple i have posted in the first post of this thread?
But do you mean i create an instance of main in resources? i.e.
One final (maybe absurd) question. How do i pass the instance of Main into the Resources class?
Thanks for the reply.
Unfortunatley am bound to work with some code that i have not used and cannot change everything. Would it be possible to implement a method in the resources class that...
KevinWorkman,
thanks for your reply.
Basically i have a main class that i use to print stuff that is changing in other classes. In one class, i have an interation that as time changes, one...
I have redrafted the problem so as to be conceptually simpler.
I have two calsses, a main class and resources class.
MAIN CLASS
public class Main {
private static Resources resource =...