Search:

Type: Posts; User: bondage

Search: Search took 0.08 seconds.

  1. Re: calling a changing variable from another class

    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?
  2. Re: calling a changing variable from another class

    But do you mean i create an instance of main in resources? i.e.
  3. Re: calling a changing variable from another class

    One final (maybe absurd) question. How do i pass the instance of Main into the Resources class?
  4. Re: calling a changing variable from another 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...
  5. Re: calling a changing variable from another class

    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...
  6. calling a changing variable from another class

    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 =...
Results 1 to 6 of 6