Hey guys,
for part of my project i need to be able to access an integer and be able to edit from multiple different actors and different worlds. My first thought was to use a private int, but this didnt work. Any opinions?
Thanks.
class ZZZ
{
private static int thatThingYouWant;
public void setThatThingYouWant(int val)
{
thatThingYouWant = val;
}
public int getThatThingYouWant()
{
return thatThingYouWant;
}
}
public static int getThatThingYouWant()
class ZZZ {
static int someVar;
/*here it is good for arrays and non changing images*/
someVar = 42;
}