Refactor some boilerplate into a base BattleScreen class.