2022-08-03 12:30:37 +02:00
|
|
|
package areas;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.List;
|
|
|
|
|
2022-08-03 14:03:51 +02:00
|
|
|
public class Forest extends Area {
|
2022-08-03 12:30:37 +02:00
|
|
|
|
2022-08-03 14:03:51 +02:00
|
|
|
public Forest() {
|
2022-08-03 12:30:37 +02:00
|
|
|
this.setArticle("Der");
|
2022-08-03 14:03:51 +02:00
|
|
|
this.setName("wald");
|
2022-08-03 12:30:37 +02:00
|
|
|
|
|
|
|
this.getReachableAreas().add("Das Haus");
|
|
|
|
|
|
|
|
List<String> enterText = new ArrayList<>();
|
|
|
|
|
|
|
|
enterText.add("Du betrittst den Wald.");
|
|
|
|
enterText.add("Eine kleine Lichtung befindet sich genau in der Mitte.");
|
|
|
|
|
|
|
|
this.setEnterText(enterText);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|