Completed the AnimationExample to have directional player movement.