#44 changement de la méthode d'interaction et d'utilisation du joueur pour une plus grande liberté de la souris

This commit is contained in:
2025-08-21 18:02:50 +02:00
parent 3bbb1cfcdc
commit bd852b007c
24 changed files with 433 additions and 146 deletions

View File

@@ -3,6 +3,9 @@ class_name Shovel
const USE_INTERVAL = 0.15
func use_text(_player) -> String:
return "Dig"
func can_use(player : Player) -> bool:
var areas = player.action_area.get_overlapping_areas()
for area in areas :