Trashmaster/agent.py

16 lines
436 B
Python
Raw Normal View History

2022-03-09 22:39:34 +01:00
import pygame.image
class trashmaster(pygame.sprite.Sprite):
def __init__(self):
super().__init__()
self.images = []
self.image = pygame.image.load("resources/textures/trashmaster_blu.png")
self.image = pygame.transform.scale(self.image, (16, 16))
self.images.append(self.image)
self.rect = self.image.get_rect()
garbagetruck_list = pygame.sprite.Group()