changed actions class and added attack and defend classes. target rotates to a new enemy if player is dead