Uses a spritesheet to animate the walk, idle, run and jumping cycles of an object.