fixed pipes, being terrible and i hate them

This commit is contained in:
JHDev2006
2025-10-01 21:48:17 +01:00
parent 77d0e9f6c3
commit f088c9b606
8 changed files with 1635 additions and 1402 deletions

View File

@@ -53,11 +53,9 @@ func update_direction_textures() -> void:
func on_mouse_entered(area_idx := 0) -> void:
mouse_in_areas |= (1 << area_idx)
print(mouse_in_areas)
func on_mouse_exited(area_idx := 0) -> void:
mouse_in_areas &= ~(1 << area_idx)
print(mouse_in_areas)
func is_mouse_in_area(area_idx := 0) -> bool:
return mouse_in_areas & (1 << area_idx) != 0