Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 365 Bytes
#Bomb Bomb Bomb
import pygame, os, random
class Bomb(pygame.sprite.Sprite):
def __init__(self,x,y):
self.image = pygame.image.load(os.path.join(os.curdir, 'bomb.png')).convert_alpha()
self.rect = self.image.get_rect()
self.x = x
self.y = y
self.rect = self.rect.move(x,y)
Jump to Line
Something went wrong with that request. Please try again.