refactor attacker

seperate hero and enemy