In my project I came across this problem, where I have an abstract class of Entity, and it\'s children are Player, Shot and Enemy. I want to check for collision between them