eventNames[eventType] = name
setattr(self, name, eventType)
eventNames[eventType] = name
setattr(self, name, eventType)
for name in pygame_events :
eventNames[getattr(pygame, name)] = name
for name in pygame_events :
eventNames[getattr(pygame, name)] = name