|
|
@ -21,6 +21,8 @@ class SlowTimeSurf: |
|
|
|
self.height = 64 |
|
|
|
self.height = 64 |
|
|
|
self.color = (0,0,0) |
|
|
|
self.color = (0,0,0) |
|
|
|
self.rect = pygame.Rect(self.x, self.y, self.width, self.height) |
|
|
|
self.rect = pygame.Rect(self.x, self.y, self.width, self.height) |
|
|
|
|
|
|
|
self.switch = True |
|
|
|
|
|
|
|
self.timer = 500 |
|
|
|
def place(self,window): |
|
|
|
def place(self,window): |
|
|
|
pygame.draw.rect(window,self.color,self.rect) |
|
|
|
pygame.draw.rect(window,self.color,self.rect) |
|
|
|
window.blit(timesurf_image,(self.rect[0], self.rect[1])) |
|
|
|
window.blit(timesurf_image,(self.rect[0], self.rect[1])) |
|
|
|