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