Ajouts des bons diagrammes de classe

This commit is contained in:
2024-12-11 09:53:12 +01:00
parent be5b9bf20e
commit 58e0e56a9e
21 changed files with 1936 additions and 655 deletions

View File

@@ -1,58 +1,45 @@
@startuml
enum fr.monkhanny.dorfromantik.enums.TileOrientation {
+ NORTH
+ NORTH_EAST
+ SOUTH_EAST
+ SOUTH
+ SOUTH_WEST
+ NORTH_WEST
+ TileOrientation oppositeOrientation()
@startuml enums
!theme plain
top to bottom direction
skinparam linetype ortho
enum Biome << enumeration >> {
+ Biome():
+ values(): Biome[]
+ valueOf(String): Biome
biomeColors: Color[]
}
enum Fonts << enumeration >> {
+ Fonts():
+ getFont(float): Font
+ valueOf(String): Fonts
+ values(): Fonts[]
fontPath: String
}
enum Images << enumeration >> {
+ Images():
+ values(): Images[]
+ valueOf(String): Images
imagePath: String
}
enum Musics << enumeration >> {
+ Musics():
+ values(): Musics[]
+ valueOf(String): Musics
soundsPath: String
}
enum Sounds << enumeration >> {
+ Sounds():
+ values(): Sounds[]
+ valueOf(String): Sounds
soundsPath: String
}
enum TileOrientation << enumeration >> {
+ TileOrientation():
+ oppositeOrientation(): TileOrientation
+ valueOf(String): TileOrientation
+ values(): TileOrientation[]
}
enum fr.monkhanny.dorfromantik.enums.Biome {
+ SEA
+ FIELD
+ PRE
+ FOREST
+ MOUNTAIN
+ Color[] getBiomeColors()
}
enum fr.monkhanny.dorfromantik.enums.Fonts {
+ TITLE
+ BUTTON
+ SCORE
+ String getFontPath()
+ Font getFont(float)
}
enum fr.monkhanny.dorfromantik.enums.Sounds {
+ SOUNDS1
+ SOUNDS2
+ String getSoundsPath()
}
enum fr.monkhanny.dorfromantik.enums.Images {
+ SETTINGS_ICON
+ EXIT_ICON
+ TUTORIAL_GIF1
+ TUTORIAL_GIF2
+ TUTORIAL_GIF3
+ TUTORIAL_GIF4
+ TUTORIAL_GIF5
+ TUTORIAL_GIF6
+ String getImagePath()
}
enum fr.monkhanny.dorfromantik.enums.Musics {
+ MAIN_MENU_MUSIC
+ String getSoundsPath()
}
@enduml
@enduml