aboutsummaryrefslogtreecommitdiff
path: root/kennel/engine/systems
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth@simponic.xyz>2024-09-02 23:59:48 -0700
committerElizabeth Hunt <elizabeth@simponic.xyz>2024-09-02 23:59:48 -0700
commitc39367ac7e163395ae726bd169926004d4d99d67 (patch)
treec551f15f3c6475638239b7ccf1d6992f375e9a57 /kennel/engine/systems
parent9f5e81327be33489d9bb912de503cd01d6ba7dca (diff)
downloadkennel.hatecomputers.club-c39367ac7e163395ae726bd169926004d4d99d67.tar.gz
kennel.hatecomputers.club-c39367ac7e163395ae726bd169926004d4d99d67.zip
fix CI
Diffstat (limited to 'kennel/engine/systems')
-rw-r--r--kennel/engine/systems/network.py15
-rw-r--r--kennel/engine/systems/system.py3
-rw-r--r--kennel/engine/systems/world.py6
3 files changed, 15 insertions, 9 deletions
diff --git a/kennel/engine/systems/network.py b/kennel/engine/systems/network.py
index 96ebc46..1c1d71c 100644
--- a/kennel/engine/systems/network.py
+++ b/kennel/engine/systems/network.py
@@ -1,9 +1,12 @@
+import asyncio
+from abc import abstractmethod
from enum import Enum
-from kennel.engine.entities.entity import Entity, EntityType, EntityManager
+from typing import List, Optional
+
+from kennel.app import logger
+from kennel.engine.entities.entity import Entity, EntityManager
+
from .system import System, SystemType
-from abc import abstractmethod
-from typing import Optional, List
-import asyncio
class EventType(str, Enum):
@@ -101,7 +104,9 @@ class Publishable:
class EventProcessor:
@abstractmethod
- def accept(self, entity_manager: EntityManager, event: Event | tuple[Event, str]) -> None:
+ def accept(
+ self, entity_manager: EntityManager, event: Event | tuple[Event, str]
+ ) -> None:
pass
diff --git a/kennel/engine/systems/system.py b/kennel/engine/systems/system.py
index 78bda58..e3ddb27 100644
--- a/kennel/engine/systems/system.py
+++ b/kennel/engine/systems/system.py
@@ -1,6 +1,7 @@
+from abc import abstractmethod
from enum import Enum
+
from kennel.engine.entities.entity import EntityManager
-from abc import abstractmethod
class SystemType(str, Enum):
diff --git a/kennel/engine/systems/world.py b/kennel/engine/systems/world.py
index 396e7cb..b74816f 100644
--- a/kennel/engine/systems/world.py
+++ b/kennel/engine/systems/world.py
@@ -1,7 +1,7 @@
-from kennel.engine.systems.system import System, SystemType
-from kennel.engine.entities.entity import EntityManager
-from kennel.engine.components.component import ComponentType
from kennel.app import logger
+from kennel.engine.components.component import ComponentType
+from kennel.engine.entities.entity import EntityManager
+from kennel.engine.systems.system import System, SystemType
class WorldSystem(System):