Ajoute Instrument + jouer melodie

This commit is contained in:
Elouan 2025-01-24 13:57:08 +01:00
parent 5b26e074e4
commit 4ba84426d6
16 changed files with 207 additions and 29 deletions

9
Instrument/Instrument.gd Normal file
View file

@ -0,0 +1,9 @@
class_name Instrument
var nom : String
func _init(nom : String) -> void:
self.nom = nom
func jouer() -> void:
print("L'instrument %s est joué." % nom)