diff --git a/Lab00App-build/Lab00App-code/src/main/java/ch/heigvd/res/lab00/Cello.java b/Lab00App-build/Lab00App-code/src/main/java/ch/heigvd/res/lab00/Cello.java new file mode 100644 index 00000000..4f5e0be1 --- /dev/null +++ b/Lab00App-build/Lab00App-code/src/main/java/ch/heigvd/res/lab00/Cello.java @@ -0,0 +1,19 @@ +package ch.heigvd.res.lab00; + + +public class Cello implements IInstrument { + + private String sound ; + private String color ; + private int volume ; + + public Cello () { + this.sound = "boum boum" ; + this.color = "wooden" ; + this.volume = 40 ; + } + + public String play () {return sound ;} + public String getColor () {return color ;} + public int getSoundVolume() {return volume ;} +} \ No newline at end of file