working on the animation code

using polymorphism at it's finest right hurrrrr