added basic functions
This commit is contained in:
parent
36625082e9
commit
5132b3d161
@ -11,4 +11,12 @@ public class Porte {
|
||||
private boolean ouvert;
|
||||
private char orientation;
|
||||
|
||||
public boolean estOuverte() {
|
||||
return ouvert;
|
||||
}
|
||||
|
||||
public char getOrientation() {
|
||||
return orientation;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -12,4 +12,8 @@ public class Salle {
|
||||
private int positionY;
|
||||
private boolean sortie;
|
||||
|
||||
public String getType(){
|
||||
return"type";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user