Ajoute Instrument + jouer melodie
This commit is contained in:
parent
5b26e074e4
commit
4ba84426d6
16 changed files with 207 additions and 29 deletions
9
Instrument/Instrument.gd
Normal file
9
Instrument/Instrument.gd
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue