for now removed card class from hirarchy and added possibillity to render sprites on screen
This commit is contained in:
@@ -20,7 +20,6 @@ class Window:
|
||||
|
||||
# set framerate
|
||||
|
||||
|
||||
def Render(self):
|
||||
pass
|
||||
|
||||
@@ -34,4 +33,9 @@ class Window:
|
||||
self.__title = title
|
||||
|
||||
def getScreen(self) -> pygame.surface:
|
||||
return self.__screen
|
||||
return self.__screen
|
||||
|
||||
# draws a passed sprite group to the screen
|
||||
def drawSpriteGroup(self, group:pygame.sprite.Group):
|
||||
self.__screen.fill("grey100")
|
||||
group.draw(self.__screen)
|
||||
Reference in New Issue
Block a user