ecs #58
|
@ -30,6 +30,8 @@ class Text:
|
|||
def __render_texts(world: World):
|
||||
"""
|
||||
Rend les textes à l'écran.
|
||||
|
||||
Pour rendre les textes, on moddifie le composant `Sprite` des entités.
|
||||
"""
|
||||
assets = world[Assets]
|
||||
for entity in world.query(Text):
|
||||
|
|
Loading…
Reference in a new issue