def __init__(self, max, pos): retro.Group.__init__(self, Ghost(pos)) self.max = max self.pos = pos self.spawn_ticker = retro.Ticker(end=300)
def start(self): self.mul = 1 self.ticker = retro.Ticker(end=300)
def __init__(self, center): retro.Sprite.__init__(self, self.IMG) self.rect.center = center self.ticker = retro.Ticker(end=120)
def start(self): self.ticker = retro.Ticker(end=135) self.explode = False return self
def __init__(self, image): retro.Sprite.__init__(self, image) self.alive = True self.shoot_ticker = retro.Ticker(end=180)