(
self,
value,
position,
color,
)
| 182 | pygame.draw.rect(self.window, color, self.rect, thickness) |
| 183 | |
| 184 | def display( |
| 185 | self, |
| 186 | value, |
| 187 | position, |
| 188 | color, |
| 189 | ): |
| 190 | font = pygame.font.SysFont("lato", 45) |
| 191 | text = font.render(str(value), True, color) |
| 192 | self.window.blit(text, position) |
| 193 | |
| 194 | def clicked(self, mousePos): |
| 195 | if self.rect.collidepoint(mousePos): |
no outgoing calls
no test coverage detected