Right now my workaround for this is to make my class "Stats" which holds the players stats an actor and put it in the world at (-20, -20). But I think eventually I will want to avoid doing that.
How can I make a reference to an actor from a class that isn't in the world? All of my references so far are like
"someActor actor = getWorld().someActor;"
then for an internal variable
"int PotatoesMade = actor.potatoesMade;"
How can I access it without the getWorld()?