public class CutScene
extends java.lang.Object
Constructor and Description |
---|
CutScene(java.lang.String file,
javafx.scene.Scene afterScene) |
Modifier and Type | Method and Description |
---|---|
javafx.scene.Scene |
getAfter_the_cutscene() |
javafx.scene.media.Media |
getMedia() |
javafx.scene.media.MediaView |
getMediaView() |
javafx.scene.media.MediaPlayer |
getPlayer() |
javafx.scene.layout.Pane |
getPn_cutScene() |
javafx.scene.Scene |
getScn_cutScene() |
void |
play()
Play the CutScene
|
void |
setAfter_the_cutscene(javafx.scene.Scene after_the_cutscene) |
public CutScene(java.lang.String file, javafx.scene.Scene afterScene)
file
- the path to the videoafterScene
- the Scene after the videopublic void play()
public javafx.scene.Scene getAfter_the_cutscene()
public void setAfter_the_cutscene(javafx.scene.Scene after_the_cutscene)
after_the_cutscene
- The scene which is displayed after the videopublic javafx.scene.Scene getScn_cutScene()
public javafx.scene.layout.Pane getPn_cutScene()
public javafx.scene.media.Media getMedia()
public javafx.scene.media.MediaPlayer getPlayer()
public javafx.scene.media.MediaView getMediaView()