batframework 1.0.9a12__py3-none-any.whl → 1.0.9a13__py3-none-any.whl

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.
batFramework/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__="1.0.9a12"
1
+ __version__="1.0.9a13"
2
2
 
3
3
  import os
4
4
  import pygame
@@ -53,17 +53,7 @@ def init_screen(resolution: tuple[int, int], flags: int = 0, vsync: int = 0):
53
53
 
54
54
 
55
55
  def print_version():
56
- # Dynamically construct the path to version.json
57
- version_file = os.path.join(os.path.dirname(__file__), "version.json")
58
- try:
59
- with open(version_file, "r") as f:
60
- version_data = json.load(f)
61
- version = version_data.get("version", "unknown")
62
- print(f"BatFramework version: {version}")
63
- except FileNotFoundError:
64
- print(f"Version file not found: {version_file}")
65
- except json.JSONDecodeError:
66
- print(f"Error decoding version file: {version_file}")
56
+ print(f"BatFramework version: {__version__}")
67
57
 
68
58
  def init(
69
59
  resolution: tuple[int, int],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: batframework
3
- Version: 1.0.9a12
3
+ Version: 1.0.9a13
4
4
  Summary: Pygame framework for making games easier.
5
5
  Author-email: Turan Baturay <baturayturan@gmail.com>
6
6
  License: MIT License
@@ -1,4 +1,4 @@
1
- batFramework/__init__.py,sha256=EM43G6NuGRe_pGVckZDLbpw4mcUTqPPVnq3JkpMUNoA,2985
1
+ batFramework/__init__.py,sha256=Jz2CjRLZaB6KUfy9gDTkt9mjxhC-p7fxjX_V-7i3eyU,2518
2
2
  batFramework/action.py,sha256=KwnfpYaqKnQWwwIe0YKiC3BLckQcfiQ8cq9AP4jtFqg,8461
3
3
  batFramework/actionContainer.py,sha256=mpdjO7wE2ukj5HaALBoBy3xlnocJ9TFBcSVYcF4KAxg,3233
4
4
  batFramework/animatedSprite.py,sha256=4pArYyHi387ejpmRwRrKn_hw3k_-u-E4bKlNYJSjsVA,3167
@@ -65,8 +65,8 @@ batFramework/templates/__init__.py,sha256=0C_SzDmslATebvovJ6geQHjs_4YFRPJOoZb7ei
65
65
  batFramework/templates/character.py,sha256=gOCUV0mx-H3uJvpIkw-6-iuoVM6t5O8zi9GZs_ZmOL0,374
66
66
  batFramework/templates/controller.py,sha256=6x2t5fNRIH_m_vcmLi-aNy25toCgSmV8JR9GkzqBWlQ,5305
67
67
  batFramework/templates/stateMachine.py,sha256=xod52HElH9VsdqKc-AxR9zUfQyeg-Jtn7JFuBVCFFZM,1370
68
- batframework-1.0.9a12.dist-info/LICENSE,sha256=54j0O9xfOFxLDp_G60NM1FYbaB8jXK9sO1E70QX7Nnk,1093
69
- batframework-1.0.9a12.dist-info/METADATA,sha256=W1ZsJtkyAFJFpHsF-bWbkTkoPLWHbiuDrxhRiyCEErY,2715
70
- batframework-1.0.9a12.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
71
- batframework-1.0.9a12.dist-info/top_level.txt,sha256=vxAKBIk1oparFTxeXGBrgfIO7iq_YR5Fv1JvPVAIwmA,13
72
- batframework-1.0.9a12.dist-info/RECORD,,
68
+ batframework-1.0.9a13.dist-info/LICENSE,sha256=54j0O9xfOFxLDp_G60NM1FYbaB8jXK9sO1E70QX7Nnk,1093
69
+ batframework-1.0.9a13.dist-info/METADATA,sha256=0zAfEBufDx4EtEd7el4mFzlWf8SUZoiDW5QutBANqys,2715
70
+ batframework-1.0.9a13.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
71
+ batframework-1.0.9a13.dist-info/top_level.txt,sha256=vxAKBIk1oparFTxeXGBrgfIO7iq_YR5Fv1JvPVAIwmA,13
72
+ batframework-1.0.9a13.dist-info/RECORD,,