You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Projet_JAVA_PMT_STRI1A/JAVA/PROJET-PMT_STRI1A/src/modeles/Porte.java

45 lines
545 B
Java

/**
*
*/
package modeles;
import java.util.ArrayList;
/**
* @author flavien
*
*/
public class Porte {
private int id;
private boolean ouvert;
private Salle salle1;
private Salle salle2;
public Porte() {
}
public Porte(int id,boolean ouvert, Salle salle,Salle salle2) {
super();
this.ouvert = ouvert;
this.salle1 = salle;
this.salle2 = salle2;
this.id=id;
}
public boolean estOuverte() {
return ouvert;
}
public int getId(){
return this.id;
}
/**
* @param ouvert
* @param orientation
*/
}