Ajout du système d'objets cliquable et changement du système #21

Merged
tipragot merged 6 commits from button into main 2023-10-27 15:48:38 +00:00
Showing only changes of commit 8685c27954 - Show all commits

View file

@ -15,6 +15,9 @@ class HoverPlugin(Plugin):
@staticmethod
def _update(world: World) -> None:
"""
Met a jour les composants Hover des entités.
"""
entities = world.query(Texture, Position)
textures = world[TextureManager]
mouse_pos = world[Mouse].position