code-game-jam-drop-plafond-.../Instrument/Instrument.gd
2025-01-24 14:27:04 +01:00

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)