currentEnemy, #townView, #shopView, #gymView, and #dungeonView all are part of the class .actionView. hideAllViews() renamed to hideAllActionViews()
This change makes the css slightly more readable as it consolidates a lot of what all these views did into a single rule. It also makes the primary view more extensible, as any new addition only needs to declare the class actionView in the html to be hidden when changing views.
currentEnemy, #townView, #shopView, #gymView, and #dungeonView all are part of the class .actionView. hideAllViews() renamed to hideAllActionViews()
This change makes the css slightly more readable as it consolidates a lot of what all these views did into a single rule. It also makes the primary view more extensible, as any new addition only needs to declare the class actionView in the html to be hidden when changing views.