Hey guys, I àm a beginner and programming a Textadventure at the Moment. In my first ‘public static void’ the player has to enter his name. And this name is saved in à string command called ‘charactername’.
Now i am in another ‘public static void’ and want to use the charactername again, but it does not work.
How can i transfer the name to the second void ?
I hope it is understandable formulated.