added animation to the weapon class