Skip to content

Commit cb35545

Browse files
committed
Updated text manager.
1 parent b961eaf commit cb35545

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

venus/core/src/main/java/org/bladecoder/venus/actions/scene1/PickupCableAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ public void resume() {
7474

7575
if (actor.getState().equals("CONNECTED")) {
7676
w.getCurrentScene().getTextManager().addText(disconnectText, TextManager.POS_SUBTITLE,
77-
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, Color.BLACK, null, null, null, null);
77+
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, Color.BLACK, null, null, null, null, null);
7878
actor.setState("DISCONNECTED");
7979
w.getCurrentScene().getSoundManager().playSound(actor.getId() + "_" + "switch");
8080
actor.startAnimation("cable.disconnected", null);
8181
player.startAnimation("crouch.left", Tween.Type.REVERSE, 1, null);
8282
cabinet_off.setVisible(true);
8383
} else if (actor.getState().equals("DISCONNECTED")) {
8484
w.getCurrentScene().getTextManager().addText(connectText, TextManager.POS_SUBTITLE,
85-
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, Color.BLACK, null, null, null, null);
85+
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, Color.BLACK, null, null, null, null, null);
8686
actor.setState("CONNECTED");
8787
w.getCurrentScene().getSoundManager().playSound(actor.getId() + "_" + "switch");
8888
actor.startAnimation("cable.connected", null);

venus/core/src/main/java/org/bladecoder/venus/actions/scene1/UseCutMachineCableAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ public boolean run(VerbRunner cb) {
3939

4040
if (target.getState().equals("CUT") && a.getState().equals("NO_BATTERY")) {
4141
w.getCurrentScene().getTextManager().addText(cutCableText, TextManager.POS_SUBTITLE,
42-
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, null, null, null, null, null);
42+
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, null, null, null, null, null, null);
4343
a.setState("WITH_CABLE");
4444
a.startAnimation("cutter.withcable", null);
4545
w.getCurrentScene().getSoundManager().playSound(a.getId() + "_" + "click");
4646
w.getInventory().removeItem((SpriteActor) target);
4747
} else {
4848
w.getCurrentScene().getTextManager().addText(defaultCableText, TextManager.POS_SUBTITLE,
49-
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, null, null, null, null, null);
49+
TextManager.POS_SUBTITLE, true, Text.Type.SUBTITLE, null, null, null, null, null, null);
5050
}
5151

5252
return false;

venus/core/src/main/java/org/bladecoder/venus/actions/scene2/Scene2InitAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public boolean run(VerbRunner cb) {
3434

3535
String t = MessageFormat.format(I18N.getString(text.substring(1)), (int)(w.getTimeOfGame() / 60000));
3636

37-
w.getCurrentScene().getTextManager().addText(t, TextManager.POS_CENTER, TextManager.POS_CENTER,false, Text.Type.PLAIN, Color.WHITE, null, null, null, cb);
37+
w.getCurrentScene().getTextManager().addText(t, TextManager.POS_CENTER, TextManager.POS_CENTER,false, Text.Type.PLAIN, Color.WHITE, null, null, null, null, cb);
3838
return true;
3939
}
4040
}

0 commit comments

Comments
 (0)