(self, font, dim, pos)
| 225 | |
| 226 | class FadingText(object): |
| 227 | def __init__(self, font, dim, pos): |
| 228 | self.font = font |
| 229 | self.dim = dim |
| 230 | self.pos = pos |
| 231 | self.seconds_left = 0 |
| 232 | self.surface = pygame.Surface(self.dim) |
| 233 | |
| 234 | def set_text(self, text, color=COLOR_WHITE, seconds=2.0): |
| 235 | text_texture = self.font.render(text, True, color) |
nothing calls this directly
no outgoing calls
no test coverage detected