Added onJumped & onGrounded callbacks to platformer.