@Test public void clearEmpty() { Cinematic sut = new Cinematic(); sut.clear(); }
public void clear() { dispose(); cinematicEvents.clear(); timeLine.clear(); if (eventsData != null) { eventsData.clear(); } }
Cinematic extends AbstractCinematicEvent implements AppState { public void clear() { dispose(); cinematicEvents.clear(); timeLine.clear(); if (eventsData != null) { eventsData.clear(); } } }
Cinematic extends AbstractCinematicEvent implements AppState { public void clear() { dispose(); cinematicEvents.clear(); timeLine.clear(); if (eventsData != null) { eventsData.clear(); } } protected  Cinematic();  Cinematic(float initialDuration);  Cinematic(LoopMode loopMode);  Cinematic(float initialDuration, LoopMode loopMode);  Cinematic(Node scene);  Cinematic(Node scene, float initialDuration);  Cinematic(Node scene, LoopMode loopMode);  Cinematic(Node scene, float initialDuration, LoopMode loopMode); }
Cinematic extends AbstractCinematicEvent implements AppState { public void clear() { dispose(); cinematicEvents.clear(); timeLine.clear(); if (eventsData != null) { eventsData.clear(); } } protected  Cinematic();  Cinematic(float initialDuration);  Cinematic(LoopMode loopMode);  Cinematic(float initialDuration, LoopMode loopMode);  Cinematic(Node scene);  Cinematic(Node scene, float initialDuration);  Cinematic(Node scene, LoopMode loopMode);  Cinematic(Node scene, float initialDuration, LoopMode loopMode); @Override void onPlay(); @Override void onStop(); @Override void onPause(); @Override void write(JmeExporter ex); @Override @SuppressWarnings("unchecked") void read(JmeImporter im); @Override void setSpeed(float speed); @Override void initialize(AppStateManager stateManager, Application app); @Override boolean isInitialized(); @Override String getId(); @Override void setEnabled(boolean enabled); @Override boolean isEnabled(); @Override void stateAttached(AppStateManager stateManager); @Override void stateDetached(AppStateManager stateManager); @Override void update(float tpf); @Override void onUpdate(float tpf); @Override void setTime(float time); KeyFrame addCinematicEvent(float timeStamp, CinematicEvent cinematicEvent); float enqueueCinematicEvent(CinematicEvent cinematicEvent); boolean removeCinematicEvent(CinematicEvent cinematicEvent); boolean removeCinematicEvent(float timeStamp, CinematicEvent cinematicEvent); boolean removeCinematicEvent(KeyFrame keyFrame, CinematicEvent cinematicEvent); @Override void render(RenderManager rm); @Override void postRender(); @Override void cleanup(); void fitDuration(); CameraNode bindCamera(String cameraName, Camera cam); CameraNode getCamera(String cameraName); void setActiveCamera(String cameraName); void activateCamera(final float timeStamp, final String cameraName); void putEventData(String type, Object key, Object object); Object getEventData(String type, Object key); void removeEventData(String type, Object key); void setScene(Node scene); Node getScene(); void clear(); @Override void dispose(); }
Cinematic extends AbstractCinematicEvent implements AppState { public void clear() { dispose(); cinematicEvents.clear(); timeLine.clear(); if (eventsData != null) { eventsData.clear(); } } protected  Cinematic();  Cinematic(float initialDuration);  Cinematic(LoopMode loopMode);  Cinematic(float initialDuration, LoopMode loopMode);  Cinematic(Node scene);  Cinematic(Node scene, float initialDuration);  Cinematic(Node scene, LoopMode loopMode);  Cinematic(Node scene, float initialDuration, LoopMode loopMode); @Override void onPlay(); @Override void onStop(); @Override void onPause(); @Override void write(JmeExporter ex); @Override @SuppressWarnings("unchecked") void read(JmeImporter im); @Override void setSpeed(float speed); @Override void initialize(AppStateManager stateManager, Application app); @Override boolean isInitialized(); @Override String getId(); @Override void setEnabled(boolean enabled); @Override boolean isEnabled(); @Override void stateAttached(AppStateManager stateManager); @Override void stateDetached(AppStateManager stateManager); @Override void update(float tpf); @Override void onUpdate(float tpf); @Override void setTime(float time); KeyFrame addCinematicEvent(float timeStamp, CinematicEvent cinematicEvent); float enqueueCinematicEvent(CinematicEvent cinematicEvent); boolean removeCinematicEvent(CinematicEvent cinematicEvent); boolean removeCinematicEvent(float timeStamp, CinematicEvent cinematicEvent); boolean removeCinematicEvent(KeyFrame keyFrame, CinematicEvent cinematicEvent); @Override void render(RenderManager rm); @Override void postRender(); @Override void cleanup(); void fitDuration(); CameraNode bindCamera(String cameraName, Camera cam); CameraNode getCamera(String cameraName); void setActiveCamera(String cameraName); void activateCamera(final float timeStamp, final String cameraName); void putEventData(String type, Object key, Object object); Object getEventData(String type, Object key); void removeEventData(String type, Object key); void setScene(Node scene); Node getScene(); void clear(); @Override void dispose();  }