ecs #58
|
@ -185,7 +185,7 @@ def __update(world: World):
|
|||
if int(entity[Text].text) == world[Number]:
|
||||
for response in world.query(Text, Response):
|
||||
response[Text].text = "Gagné !"
|
||||
entity[Text].text = ""
|
||||
entity[Text].text = f"Le nombre etait {world[Number]}"
|
||||
# Le jeu est finit et on ne peux plus ecrire
|
||||
del world[IsRunning]
|
||||
del entity[Writing]
|
||||
|
|
Loading…
Reference in a new issue