Hello, I've been stuck on this problem for the past day, I can't seem to figure out how to combine two different classes together- animation and jump class. I'm getting two different sprites on the screen, one of the sprites has animation and is moving the other sprite has no animation but is jumping... and I don't know how to get past this stage to have the animation AND jump on one sprite.

This is for my uni maths assignment and the game needs to have all 3 Newton Laws.