Init de mon dépôt
This commit is contained in:
31
pakeje/Amphi.java
Normal file
31
pakeje/Amphi.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package pakeje;
|
||||
|
||||
public class Amphi extends Salle {
|
||||
|
||||
private int hauteurSousPlafond;
|
||||
|
||||
public Amphi() {
|
||||
super();
|
||||
hauteurSousPlafond = 0;
|
||||
}
|
||||
|
||||
public Amphi(int hsp) {
|
||||
super();
|
||||
hauteurSousPlafond = hsp;
|
||||
}
|
||||
|
||||
public void afficherInfos() {
|
||||
System.out.println("Amphi :");
|
||||
super.afficherInfos();
|
||||
System.out.println("Hauteur sous plafond : " + hauteurSousPlafond);
|
||||
}
|
||||
|
||||
public int getHauteurSousPlafond() {
|
||||
return hauteurSousPlafond;
|
||||
}
|
||||
|
||||
public void setHauteurSousPlafond(int hauteurSousPlafond) {
|
||||
this.hauteurSousPlafond = hauteurSousPlafond;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user