eee64457ad5477a228b4ae3e76d0f4ad3e3b28fa
2 from sys
import modules
14 self
= modules
[__name__
]
16 for i
, name
in enumerate(events
) :
17 eventType
= pygame
.USEREVENT
+i
18 eventNames
[eventType
] = name
19 setattr(self
, name
, eventType
)
42 for name
in pygame_events
:
43 eventNames
[getattr(pygame
, name
)] = name