From: = <=> Date: Thu, 15 Oct 2026 11:53:53 +0000 (+0200) Subject: format X-Git-Url: https://git.uwuaxy.net/Project%20Management.png?a=commitdiff_plain;h=318f3e94aaff13a3172755278ebd111a95a8208b;p=axy%2Fft%2Fpacman.git format --- diff --git a/src/pacman/game/__init__.py b/src/pacman/game/__init__.py index 5b4cedf..2a37803 100644 --- a/src/pacman/game/__init__.py +++ b/src/pacman/game/__init__.py @@ -1,4 +1,3 @@ -import pacman from collections.abc import Callable from dataclasses import dataclass from enum import Enum, auto @@ -7,9 +6,10 @@ from typing import override from mazegenerator import MazeGenerator # type: ignore[import-untyped] from pydantic import BaseModel -from pygame import Vector2, K_ESCAPE +from pygame import K_ESCAPE, Vector2 from pygame.math import clamp +import pacman from pacman.ecs import minimal_plugins from pacman.ecs.assets import Assets from pacman.ecs.coord import ( @@ -22,14 +22,14 @@ from pacman.ecs.graphics import ( AnimationSet, GraphicsSystems, Inputs, + InputsSystems, ShouldRender, Sprite2D, + StopAnimation, + WindowEvents, WindowPositionned, graphics_plugins, - WindowEvents, key_just_pressed, - InputsSystems, - StopAnimation, ) from pacman.ecs.gui import ( Button, @@ -41,7 +41,7 @@ from pacman.ecs.gui import ( ) from pacman.ecs.hierarchy import ChildOf, Children, Hierarchy from pacman.ecs.schedule import StartupSchedule, UpdateSchedule -from pacman.ecs.update import PostUpdate, Update, PreUpdate +from pacman.ecs.update import PostUpdate, PreUpdate, Update from pacman.ecs.world import ( CommandQueue, Component,