Skip to content

Commit 73fac5b

Browse files
committed
bugfix: the Pachinko app doesn't handle 5 action strings
1 parent 46c6aa3 commit 73fac5b

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
com.jme3 and jme3test software packages Copyright (c) 2009-2024 jMonkeyEngine
2-
jme3utilities software packages Copyright (c) 2013-2024 Stephen Gold
2+
jme3utilities software packages Copyright (c) 2013-2025 Stephen Gold
33
vhacd software package Copyright (c) 2016, Riccardo Balbo
44

55
All rights reserved.

MinieExamples/src/main/java/jme3utilities/minie/test/Pachinko.java

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2022-2024 Stephen Gold
2+
Copyright (c) 2022-2025 Stephen Gold
33
All rights reserved.
44
55
Redistribution and use in source and binary forms, with or without
@@ -322,17 +322,23 @@ public void onAction(String actionString, boolean ongoing, float tpf) {
322322
InputMode.suspendAndActivate(editor);
323323
return;
324324

325-
case "simulate 1":
326-
restartSimulation(1);
325+
case "simulate 4":
326+
restartSimulation(4);
327327
return;
328-
case "simulate 2":
329-
restartSimulation(2);
328+
case "simulate 5":
329+
restartSimulation(5);
330330
return;
331-
case "simulate 3":
332-
restartSimulation(3);
331+
case "simulate 6":
332+
restartSimulation(6);
333333
return;
334-
case "simulate 4":
335-
restartSimulation(4);
334+
case "simulate 7":
335+
restartSimulation(7);
336+
return;
337+
case "simulate 8":
338+
restartSimulation(8);
339+
return;
340+
case "simulate 9":
341+
restartSimulation(9);
336342
return;
337343

338344
default:

0 commit comments

Comments
 (0)