예제 #1
0
 def draw(self, surface: Surface, position: Vector2D):
     surface.blit(self.image, position.as_tuple())
예제 #2
0
 def scale(self, scale: Vector2D):
     self.image = pygame.transform.scale(self.image, scale.as_tuple())