Hi, i have a variable - weatherValue that is in my WeatherInput class and i need to use the value of weatherValue in my BeeWorld class (my world class). How would i go about this?
This is the code to set the value of weatherValue in the WeatherInput class:
weatherValue = Integer.parseInt(Greenfoot.ask("Please input a value for the weather"));