I do not think you have injured your knee badly. It is better to get an x-ray of the knee joint done. We can rule out fracture
Talk to your family doctor about this. Continue to take rest, apply ice to the affected areas.
Take over the counter analgesics like Paracetamol
Get well soon.