Edited: I need to change the values of several variables as they run several times thorugh a timer. I need to keep updating the values with every iteration through the timer
Declare the variable as a static and reference it in the required method using className.variable