Example #1
0
 def draw(self):
     if self.exists:
         draw_image(self.ship,self.x,self.y,self.xsize,self.ysize,self.angle)
Example #2
0
 def draw(self, cx, cy, pixels_per_meter):
     set_fill_color(self.r,self.g,self.b)
     self.angle += self.rotate
     draw_image(self.img,cx+self.x*pixels_per_meter,cy+self.y*pixels_per_meter,self.xc,self.yc,self.angle)