Ajouts d'une page de tutoriel pour savoir comment jouer. ATTENTION, IL FAUT RAJOUTER LE BACKGROUND DE FOND
This commit is contained in:
@@ -2,7 +2,7 @@ package fr.monkhanny.dorfromantik.enums;
|
||||
|
||||
|
||||
public enum Images {
|
||||
SETTINGS_ICON, EXIT_ICON;
|
||||
SETTINGS_ICON, EXIT_ICON, TUTORIAL_GIF1, TUTORIAL_GIF2, TUTORIAL_GIF3, TUTORIAL_GIF4;
|
||||
|
||||
public String getImagePath() {
|
||||
switch (this) {
|
||||
@@ -10,6 +10,14 @@ public enum Images {
|
||||
return "./ressources/images/Icone/SettingsIcon.png";
|
||||
case EXIT_ICON:
|
||||
return "./ressources/images/Icone/ExitIcon.png";
|
||||
case TUTORIAL_GIF1:
|
||||
return "./ressources/images/Tutorial/Gif1.gif";
|
||||
case TUTORIAL_GIF2:
|
||||
return "./ressources/images/Tutorial/Gif2.gif";
|
||||
case TUTORIAL_GIF3:
|
||||
return "./ressources/images/Tutorial/Gif3.gif";
|
||||
case TUTORIAL_GIF4:
|
||||
return "./ressources/images/Tutorial/Gif4.gif";
|
||||
default:
|
||||
throw new IllegalArgumentException("Unexpected value: " + this);
|
||||
}
|
||||
|
Reference in New Issue
Block a user