added basic functions

master
Flavien Haas 6 years ago
parent 36625082e9
commit 5132b3d161

@ -10,5 +10,13 @@ package modeles;
public class Porte { public class Porte {
private boolean ouvert; private boolean ouvert;
private char orientation; private char orientation;
public boolean estOuverte() {
return ouvert;
}
public char getOrientation() {
return orientation;
}
} }

@ -11,5 +11,9 @@ public class Salle {
private int positionX; private int positionX;
private int positionY; private int positionY;
private boolean sortie; private boolean sortie;
public String getType(){
return"type";
}
} }

Loading…
Cancel
Save