Skip to content

Commit

Permalink
Merge pull request #8 from maxcaduff/fb-Cello-impl
Browse files Browse the repository at this point in the history
provided Cello class implementation SoftEng-HEIGVD#382
  • Loading branch information
julien-baeriswyl-heigvd authored Mar 9, 2017
2 parents 62b29ba + 4d43b04 commit 917b227
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 ;}
}

0 comments on commit 917b227

Please sign in to comment.