CromulentEntity / Dungeon_Crawler_Deux

Text based Dungeon Crawler game, built in Java from scratch.
0 stars 0 forks source link

Break up large switch statements #8

Closed CromulentEntity closed 2 years ago

CromulentEntity commented 2 years ago

MainMenuComponent, BattleInstance and possibly others have large Switch blocks which handle user input. Consider breaking these down into calls to new methods.

Perhaps these Switch statements could be handled in a more generic fashion via ConsoleHelper?