def draw(self): pos = vista.worldtoview((self.x, self.y)) img = graphics.shipimg(self.traj) vista.screen.blit(img, img.get_rect(center=pos))
def draw(self): pos = vista.worldtoview((self.x, self.y)) img = getshotimg(vista.zoom, self.angle) vista.screen.blit(img, img.get_rect(center=pos))
def draw(self): pos = vista.worldtoview((self.x, self.y)) alpha = 1 if self.sucker else min(self.t / 0.5, (5 - self.t) / 0.5, 1) img = graphics.twinkler(self.t, alpha) vista.screen.blit(img, img.get_rect(center = pos))
def draw(self): pos = vista.worldtoview((self.x, self.y)) img = getshotimg(vista.zoom, self.angle) vista.screen.blit(img, img.get_rect(center = pos))
def draw(self): pos = vista.worldtoview((self.x, self.y)) img = graphics.shipimg(self.traj) vista.screen.blit(img, img.get_rect(center = pos))
def draw(self): for img in graphics.gettwinklerimgs(self.t): pos = vista.worldtoview((self.x, self.y)) vista.screen.blit(img, img.get_rect(center=pos))
def draw(self): for img in graphics.gettwinklerimgs(self.t): pos = vista.worldtoview((self.x, self.y)) vista.screen.blit(img, img.get_rect(center = pos))