PygameToolsKit 1.2.5__tar.gz → 1.2.6__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.
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PKG-INFO +1 -1
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Inputs/keyManager.py +9 -1
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit.egg-info/PKG-INFO +1 -1
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/pyproject.toml +1 -1
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Animation/animation.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Decorators/onJoystick.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Decorators/onKey.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Decorators/timer.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Event/eventListener.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Event/eventManager.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Event/eventObject.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Event/isEventObject.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Graphics/color.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Inputs/dir.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Inputs/joystickManager.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Update/update.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/Update/updateManager.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit/__init__.py +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit.egg-info/SOURCES.txt +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit.egg-info/dependency_links.txt +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit.egg-info/requires.txt +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/PygameToolsKit.egg-info/top_level.txt +0 -0
- {pygametoolskit-1.2.5 → pygametoolskit-1.2.6}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PygameToolsKit
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
4
4
|
Summary: Bibliothèque qui dispose de divers classes, fonctions et décorateurs pour aider au développement avec pygame
|
|
5
5
|
Requires-Dist: DecoratorsToolKit>=1.0.0
|
|
6
6
|
Requires-Dist: pygame-ce>=2.5.0
|
|
@@ -24,4 +24,12 @@ class KeyManager:
|
|
|
24
24
|
|
|
25
25
|
@OnKey([pygame.K_d, pygame.K_RIGHT])
|
|
26
26
|
def get_right(self):
|
|
27
|
-
return Direction.RIGHT
|
|
27
|
+
return Direction.RIGHT
|
|
28
|
+
|
|
29
|
+
def get_direction(self):
|
|
30
|
+
for method in dir(self):
|
|
31
|
+
if method.startswith("get_"):
|
|
32
|
+
direction = getattr(self, method)()
|
|
33
|
+
if direction:
|
|
34
|
+
return direction
|
|
35
|
+
return None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PygameToolsKit
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
4
4
|
Summary: Bibliothèque qui dispose de divers classes, fonctions et décorateurs pour aider au développement avec pygame
|
|
5
5
|
Requires-Dist: DecoratorsToolKit>=1.0.0
|
|
6
6
|
Requires-Dist: pygame-ce>=2.5.0
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PygameToolsKit"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.6"
|
|
8
8
|
description = "Bibliothèque qui dispose de divers classes, fonctions et décorateurs pour aider au développement avec pygame"
|
|
9
9
|
|
|
10
10
|
dependencies = [
|
|
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
|