jeudi 20 avril 2017

How do I get values from a class that depend on the one I need the value in?

I have class1 and class2 that depend on each other. I need a value from class1 that screws with every thing if it is static.

This it ther relation in a nutshell

class one
{
static var a;

var b //the one that can't be static

class two
{
var c

public two()
{
do
{
c = f(a)
}
while( c == b )

public one(var A)
{
a = A

b = 0

for( somthing ) 
{
b = c
two()
}
}
}






Comments
0 Comments

0 commentaires:

Enregistrer un commentaire