added dialog up / down
This commit is contained in:
parent
6f2f2fae1f
commit
ffa592bc3e
@ -76,6 +76,14 @@ public class InteractionCell extends Cell {
|
|||||||
case "hide":
|
case "hide":
|
||||||
dialog.hideText();
|
dialog.hideText();
|
||||||
break;
|
break;
|
||||||
|
case "up":
|
||||||
|
readNextLine();
|
||||||
|
window.getDialogBar().setBounds(0, 0, WindowOfFreeMove.CELL_SIZE * WindowOfFreeMove.WINDOW_WIDTH, WindowOfFreeMove.CELL_SIZE * WindowOfFreeMove.WINDOW_HEIGHT / 4);
|
||||||
|
break;
|
||||||
|
case "down":
|
||||||
|
readNextLine();
|
||||||
|
window.getDialogBar().setBounds(0, WindowOfFreeMove.CELL_SIZE * WindowOfFreeMove.WINDOW_HEIGHT * 3 / 4, WindowOfFreeMove.CELL_SIZE * WindowOfFreeMove.WINDOW_WIDTH, WindowOfFreeMove.CELL_SIZE * WindowOfFreeMove.WINDOW_HEIGHT / 4);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Keep out
|
Keep out
|
||||||
|
<dialog> up
|
||||||
...
|
...
|
||||||
<dialog> hide
|
<dialog> down
|
||||||
<dialog> show
|
|
||||||
or enter<br/>I'm a sign not a cop
|
or enter<br/>I'm a sign not a cop
|
||||||
<end>
|
<end>
|
||||||
Loading…
x
Reference in New Issue
Block a user