Added Gameobjects class
This commit is contained in:
10
modules/gameobjects.py
Normal file
10
modules/gameobjects.py
Normal 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
|
||||
Reference in New Issue
Block a user