e2D 1.4.1__tar.gz → 1.4.2__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.
- {e2D-1.4.1 → e2D-1.4.2}/PKG-INFO +1 -1
- {e2D-1.4.1 → e2D-1.4.2}/e2D/__init__.py +5 -2
- {e2D-1.4.1 → e2D-1.4.2}/e2D.egg-info/PKG-INFO +1 -1
- {e2D-1.4.1 → e2D-1.4.2}/setup.cfg +1 -1
- {e2D-1.4.1 → e2D-1.4.2}/LICENSE +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/README.md +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D/envs.py +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D/plots.py +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D/utils.py +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D/winrec.py +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D.egg-info/SOURCES.txt +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D.egg-info/dependency_links.txt +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D.egg-info/requires.txt +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/e2D.egg-info/top_level.txt +0 -0
- {e2D-1.4.1 → e2D-1.4.2}/pyproject.toml +0 -0
{e2D-1.4.1 → e2D-1.4.2}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: e2D
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Python library for 2D games. Streamlines dev with keyboard/mouse input, vector calculations, color manipulation, and collision detection. Simplify game creation and unleash creativity!
|
|
5
5
|
Home-page: https://github.com/marick-py/e2D
|
|
6
6
|
Author: Riccardo Mariani
|
|
@@ -312,8 +312,11 @@ class Vector2D:
|
|
|
312
312
|
else:
|
|
313
313
|
raise TypeError(f"The value {other} is not a num type: [{int|float}] nor an array type: [{list|tuple}]")
|
|
314
314
|
return other
|
|
315
|
-
|
|
316
|
-
|
|
315
|
+
|
|
316
|
+
try:
|
|
317
|
+
from e2D.Cmain import * #type: ignore
|
|
318
|
+
except Exception as err:
|
|
319
|
+
raise Warning(f"Unable to load the C-version on Vector2D: \n\t{err}")
|
|
317
320
|
|
|
318
321
|
class V2(Vector2D):
|
|
319
322
|
def __init__(self:"V2|Vector2D", x: int|float = 0, y: int|float = 0) -> None:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: e2D
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Summary: Python library for 2D games. Streamlines dev with keyboard/mouse input, vector calculations, color manipulation, and collision detection. Simplify game creation and unleash creativity!
|
|
5
5
|
Home-page: https://github.com/marick-py/e2D
|
|
6
6
|
Author: Riccardo Mariani
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = e2D
|
|
3
|
-
version = 1.4.
|
|
3
|
+
version = 1.4.2
|
|
4
4
|
author = Riccardo Mariani
|
|
5
5
|
author_email = ricomari2006@gmail.com
|
|
6
6
|
description = Python library for 2D games. Streamlines dev with keyboard/mouse input, vector calculations, color manipulation, and collision detection. Simplify game creation and unleash creativity!
|
{e2D-1.4.1 → e2D-1.4.2}/LICENSE
RENAMED
|
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
|