pygame collisions

35

def is_collided_with(self, sprite):
    return self.rect.colliderect(sprite.rect)

Comments

Submit
0 Comments