| 166 | |
| 167 | |
| 168 | class Cursor(pygame.sprite.Sprite): |
| 169 | def __init__(self) -> None: |
| 170 | super().__init__() |
| 171 | self.cursor_image = pygame.image.load("assets/cursor.png") |
| 172 | self.cursor = pygame.transform.scale(self.cursor_image, (27, 27)) |
| 173 | self.cursor_rect = self.cursor.get_rect() |
| 174 | |
| 175 | def update(self): |
| 176 | self.cursor_rect.topleft = pygame.mouse.get_pos() |
| 177 | WIN.blit(self.cursor, self.cursor_rect) |
| 178 | |
| 179 | |
| 180 | class Options: |