Haven’t really gone through this whole video yet, but thought I’d bring up something that was slightly confusing me.
We’re currently logging the current screen we’re on using enum Screen. So, my understanding is that we effectively defined Screen as a new variable type, and it can be one of three possible things, MainMenu, Password or Win. And we initialised a string variable called currentScreen to hold whatever Screen is at a given time.
So, is Screen not technically an array? Could we not have used the method for making an array in order to keep track of our current screen? What’s so important/significant/special about using enum to create it?