added basic functions

This commit is contained in:
Flavien Haas 2019-04-16 13:35:42 +02:00
parent 36625082e9
commit 5132b3d161
2 changed files with 12 additions and 0 deletions

View File

@ -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;
}
} }

View File

@ -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";
}
} }