Merge pull request 'Ajout d'un commentaire oublié' (#20) from hover into main

Reviewed-on: #20
This commit is contained in:
Tipragot 2023-10-27 13:32:16 +00:00 committed by Gitea
commit 8fda69ec36
No known key found for this signature in database

View file

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