eventNames = {}
self = modules[__name__]
for i, name in enumerate(events) :
eventType = pygame.USEREVENT + 1 + i
eventNames = {}
self = modules[__name__]
for i, name in enumerate(events) :
eventType = pygame.USEREVENT + 1 + i
eventNames[eventType] = name
setattr(self, name, eventType)
eventNames[eventType] = name
setattr(self, name, eventType)