Added a `collideType` function to check for collision with a specific type
Removed the test on `isEntity` since the `collidable` property is actually only defined in Entity Object