Pygame Sprawdź kolizję
def is_collided_with(self, sprite):
return self.rect.colliderect(sprite.rect)
Innocent Impala
def is_collided_with(self, sprite):
return self.rect.colliderect(sprite.rect)