I'm trying to call a variable from another class. What I'm trying to do, is set the image of an actor to depend on another actor's data, and to do this I made an Array in my world class. The Array has strings, and each one is a variable, and each variable is set to the string of the filename. I want to be able to change this variable through an actor class. How would I go about doing this?

