added basic functions
This commit is contained in:
parent
36625082e9
commit
5132b3d161
@ -10,5 +10,13 @@ package modeles;
|
||||
public class Porte {
|
||||
private boolean ouvert;
|
||||
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 positionY;
|
||||
private boolean sortie;
|
||||
|
||||
public String getType(){
|
||||
return"type";
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user