mirror of
https://github.com/Fare-spec/cours.git
synced 2025-12-09 19:30:40 +00:00
starting to recreate the wallbreacker
This commit is contained in:
14
pygame/jeu/niveau.py
Normal file
14
pygame/jeu/niveau.py
Normal file
@@ -0,0 +1,14 @@
|
||||
class Niveau:
|
||||
def __init__(self) -> None:
|
||||
self.b1 = balle.Balle()
|
||||
self.r1 = raquette.Raquette()
|
||||
self.m1 = murdebrique.Wall()
|
||||
|
||||
def affiche(self,ecran):
|
||||
ecran.fill(BLANC)
|
||||
self.b1.affiche(ecran)
|
||||
self.r1.affiche(ecran)
|
||||
self.m1.affiche(ecran)
|
||||
|
||||
def levelmanager():
|
||||
for event in pygame.
|
||||
Reference in New Issue
Block a user