-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSKlausurRunning.java
52 lines (38 loc) · 2.12 KB
/
SKlausurRunning.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
public class SKlausurRunning extends Scene {
public SKlausurRunning(Adventure host) {
super(host);
// TODO Auto-generated constructor stub
}
@Override
public Scene run() {
// TODO Auto-generated method stub
host.tell(Messages.getString("SKlausurRunning.0")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.1")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.2")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.3")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.4")); //$NON-NLS-1$
host.map.resetActions();
// Mache Annas Zimmer begehbar
host.map.wohnheim.actions.add(new ActionWay(this, Messages.getString("SKlausurRunning.5"), host.map.vormensa)); //$NON-NLS-1$
host.map.vormensa.actions.add(new ActionWay(this, Messages.getString("SKlausurRunning.6"), host.map.wohnheim)); //$NON-NLS-1$
host.map.hauptgebaeude.actions.add(new InfoAction(this, Messages.getString("SKlausurRunning.7"))); //$NON-NLS-1$
host.map.h0104.actions.add(new InfoAction(this, Messages.getString("SKlausurRunning.8"))); //$NON-NLS-1$
host.map.hersterstock.actions.add(new ReturnAction(this));
host.map.interact(true);
host.tell(Messages.getString("SKlausurRunning.9")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.10")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.11")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.12")); //$NON-NLS-1$
host.tell(Messages.getString("SKlausurRunning.13")); //$NON-NLS-1$
host.delay();
host.tell(Messages.getString("SKlausurRunning.14")); //$NON-NLS-1$
// Hier könnten jetzt auf dem Rückweg noch ein paar fröhliche InfoActions auftauchen
host.map.resetActions();
// Mache Annas Zimmer begehbar
host.map.wohnheim.actions.add(new ActionWay(this, Messages.getString("SKlausurRunning.15"), host.map.vormensa)); //$NON-NLS-1$
host.map.vormensa.actions.add(new ActionWay(this, Messages.getString("SKlausurRunning.16"), host.map.wohnheim)); //$NON-NLS-1$
host.map.wohnheim.actions.add(new ReturnAction(this));
host.map.interact(true);
return new SEnde(host);
}
}