Adds animation to game objects, not yet tested