I have some classes with variables defined right after //class Foo{
In the other class is created object of above class. After one minute I need to reset variables in Foo to default values.
I tried to just create new object, nothing happens. Is there any other way than creating a setter?
I have some classes with variables defined right after //class Foo{ In the other
Share
You should have these default values stored in some other place, you can’t recover the default values. Use a timer to reload these vars.