|
48 | 48 | import java.io.IOException; |
49 | 49 | import java.util.ArrayList; |
50 | 50 | import java.util.HashMap; |
51 | | -import java.util.List; |
52 | 51 | import java.util.Map; |
53 | 52 | import java.util.logging.Level; |
54 | 53 | import java.util.logging.Logger; |
@@ -97,7 +96,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { |
97 | 96 | private Node scene; |
98 | 97 | protected TimeLine timeLine = new TimeLine(); |
99 | 98 | private int lastFetchedKeyFrame = -1; |
100 | | - private List<CinematicEvent> cinematicEvents = new ArrayList<>(); |
| 99 | + private ArrayList<CinematicEvent> cinematicEvents = new ArrayList<>(); |
101 | 100 | private Map<String, CameraNode> cameras = new HashMap<>(); |
102 | 101 | private CameraNode currentCam; |
103 | 102 | private boolean initialized = false; |
@@ -241,7 +240,7 @@ public void onPause() { |
241 | 240 | public void write(JmeExporter ex) throws IOException { |
242 | 241 | super.write(ex); |
243 | 242 | OutputCapsule oc = ex.getCapsule(this); |
244 | | - oc.writeSavableArrayList((ArrayList) cinematicEvents, "cinematicEvents", null); |
| 243 | + oc.writeSavableArrayList(cinematicEvents, "cinematicEvents", null); |
245 | 244 | oc.writeStringSavableMap(cameras, "cameras", null); |
246 | 245 | oc.write(timeLine, "timeLine", null); |
247 | 246 | } |
@@ -774,3 +773,4 @@ public void dispose() { |
774 | 773 | } |
775 | 774 | } |
776 | 775 | } |
| 776 | + |
0 commit comments