simplification structure
This commit is contained in:
parent
5ee577d733
commit
8abfc2f900
12 changed files with 104 additions and 42 deletions
|
@ -1,13 +1,10 @@
|
|||
extends Vent
|
||||
class_name Flute
|
||||
|
||||
var Balle = preload("res://scenes/attaques/Balle.tscn").instantiate() # Charger le nœud Balle
|
||||
|
||||
func _init() -> void:
|
||||
super("Flûte")
|
||||
|
||||
func jouer_melodie(player_position) -> void:
|
||||
print("La flûte joue une mélodie.")
|
||||
jouer()
|
||||
spawn_balle(player_position)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue