co2114 2026.0.2__tar.gz → 2026.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {co2114-2026.0.2 → co2114-2026.0.3}/PKG-INFO +1 -1
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/engine.py +3 -5
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114.egg-info/PKG-INFO +1 -1
- {co2114-2026.0.2 → co2114-2026.0.3}/setup.py +1 -1
- {co2114-2026.0.2 → co2114-2026.0.3}/LICENSE +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/README.md +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/agent/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/agent/environment.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/agent/things.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/constraints/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/constraints/csp/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/constraints/csp/util.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/constraints/magic.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/constraints/sudoku.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/optimisation/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/optimisation/minimax.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/optimisation/planning.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/optimisation/things.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/reasoning/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/reasoning/cluedo.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/reasoning/inference.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/reasoning/logic.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/search/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/search/graph.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/search/maze.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/search/things.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/search/util.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/util/__init__.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/util/colours.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114/util/fonts.py +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114.egg-info/SOURCES.txt +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114.egg-info/dependency_links.txt +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114.egg-info/requires.txt +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/co2114.egg-info/top_level.txt +0 -0
- {co2114-2026.0.2 → co2114-2026.0.3}/setup.cfg +0 -0
|
@@ -106,7 +106,6 @@ class Engine(BaseEngine):
|
|
|
106
106
|
|
|
107
107
|
def _update(self) -> None:
|
|
108
108
|
""" Processing loop internals """
|
|
109
|
-
|
|
110
109
|
# frame limiter
|
|
111
110
|
if self._framerate is None or not isinstance(self._framerate, int):
|
|
112
111
|
self._framerate = DEFAULT_FPS # corrective measures
|
|
@@ -134,7 +133,6 @@ class Engine(BaseEngine):
|
|
|
134
133
|
def update(self) -> None:
|
|
135
134
|
""" Main process loop, needs override """
|
|
136
135
|
raise NotImplementedError
|
|
137
|
-
|
|
138
136
|
|
|
139
137
|
def render(self) -> None:
|
|
140
138
|
""" Main render loop, needs override """
|
|
@@ -165,7 +163,7 @@ class App(Engine):
|
|
|
165
163
|
@classmethod
|
|
166
164
|
def run_default(cls) -> None:
|
|
167
165
|
""" Run the app with default parameters """
|
|
168
|
-
app =
|
|
166
|
+
app = cls()
|
|
169
167
|
app.run()
|
|
170
168
|
|
|
171
169
|
|
|
@@ -191,7 +189,7 @@ class ClockApp(App):
|
|
|
191
189
|
self._font = pygame.font.SysFont(TEXT_FONT, 128) # override font
|
|
192
190
|
self.t = datetime.now() # current time
|
|
193
191
|
|
|
194
|
-
@override
|
|
192
|
+
# @override
|
|
195
193
|
def update(self) -> None:
|
|
196
194
|
""" Main process loop
|
|
197
195
|
|
|
@@ -199,7 +197,7 @@ class ClockApp(App):
|
|
|
199
197
|
"""
|
|
200
198
|
self.t = datetime.now() # get current time
|
|
201
199
|
|
|
202
|
-
@override
|
|
200
|
+
# @override
|
|
203
201
|
def render(self) -> None:
|
|
204
202
|
""" Main render loop
|
|
205
203
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|