9 lines
157 B
GDScript
9 lines
157 B
GDScript
class_name Instrument
|
|
|
|
var nom : String
|
|
|
|
func _init(nom : String) -> void:
|
|
self.nom = nom
|
|
|
|
func jouer() -> void:
|
|
print("L'instrument %s est joué." % nom)
|