Added particles to the animation class.