POO_Pieces/Donjon.java

13 lines
211 B
Java
Raw Normal View History

2023-12-15 11:12:52 +01:00
public abstract class Donjon{
2023-12-20 11:15:26 +01:00
VuePerso vue;
public Donjon(){
this.vue = New VuePerso();
}
2023-12-20 11:13:15 +01:00
public void apres(Piece salle){
2023-12-20 11:15:26 +01:00
this.vue.avance();
2023-12-20 11:13:15 +01:00
}
public void avant(Piece salle){
2023-12-20 11:15:26 +01:00
this.vue.apres();
2023-12-20 11:13:15 +01:00
}
2023-12-15 11:12:52 +01:00
}