moved animations to animation folder. set hasAttacked after attack.