Added collidesWith method to rectcollidable