from itertools import cycle
class WarpingCursor(pygame.sprite.DirtySprite, EventHandlerMixin):
from itertools import cycle
class WarpingCursor(pygame.sprite.DirtySprite, EventHandlerMixin):
# workarround cursor alignement problem
pygame.event.set_blocked(pygame.MOUSEMOTION)
pygame.mouse.set_pos(pygame.mouse.get_pos())
# workarround cursor alignement problem
pygame.event.set_blocked(pygame.MOUSEMOTION)
pygame.mouse.set_pos(pygame.mouse.get_pos())
@event_handler(pygame.MOUSEBUTTONUP)
def flashOff(self, event) :
@event_handler(pygame.MOUSEBUTTONUP)
def flashOff(self, event) :