Added Gameobjects class

This commit is contained in:
2024-07-17 18:10:07 +02:00
parent ccdd382485
commit 797619cd1b
3 changed files with 17 additions and 14 deletions

10
modules/gameobjects.py Normal file
View File

@@ -0,0 +1,10 @@
import pygame
class GameObjects():
def __init__(self, name, posx:int, posy:int) -> None:
self.posx = posx
self.posy = posy
self.name = name
self.rect:pygame.rect
pass