Made ObjState generic, defined playerBattleState