I need to access a variable from an actor class in my world class and I can't remember what code I have to use to do so.
MyActor actor = new MyActor(); // add it to the world like: addObject(actor, x, y); int actorsVariable = actor.myVariable;