se_uebungen/snake/input_manager.py
2026-04-16 15:06:56 +02:00

10 lines
202 B
Python

import pygame
class InputManager:
QUIT = 0
def process_input(self):
for event in pygame.event.get():
if event.type == pygame.QUIT:
return InputManager.QUIT