Ajout des diagrammes de classe pour les différents packages
This commit is contained in:
BIN
Documentation/DiagrammeUML/Utils/Diagram_utils.png
Normal file
BIN
Documentation/DiagrammeUML/Utils/Diagram_utils.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 195 KiB |
100
Documentation/DiagrammeUML/Utils/Diagram_utils.puml
Normal file
100
Documentation/DiagrammeUML/Utils/Diagram_utils.puml
Normal file
@@ -0,0 +1,100 @@
|
||||
@startuml
|
||||
class fr.monkhanny.dorfromantik.utils.PlayerScore {
|
||||
- String serie
|
||||
- int score
|
||||
+ <<Create>> PlayerScore(String,int)
|
||||
+ String getSerieName()
|
||||
+ int getScore()
|
||||
}
|
||||
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.Hexagon {
|
||||
- {static} int ANGLE_BETWEEN_VERTICES
|
||||
+ <<Create>> Hexagon(int,int,int,double)
|
||||
+ <<Create>> Hexagon(Point,int,double)
|
||||
+ <<Create>> Hexagon(int,int,int)
|
||||
+ <<Create>> Hexagon(Point,int)
|
||||
- double calculateAngle(int,double)
|
||||
}
|
||||
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.ImageLoader {
|
||||
+ {static} Image APPLICATION_ICON
|
||||
+ {static} Image loadImage(String)
|
||||
}
|
||||
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.FontManager {
|
||||
- {static} Font titleFont
|
||||
- {static} Font buttonFont
|
||||
+ {static} void loadCustomFont(Fonts)
|
||||
+ {static} Font getTitleFont(float)
|
||||
+ {static} Font getButtonFont(float)
|
||||
+ {static} Font getAdjustedTitleFont(Component,float,float)
|
||||
+ {static} Font getAdjustedButtonFont(Component,float,float)
|
||||
+ {static} void setTitleFont(Font)
|
||||
+ {static} void setButtonFont(Font)
|
||||
}
|
||||
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.HexagonDrawer {
|
||||
- Tile tile
|
||||
+ <<Create>> HexagonDrawer(Tile)
|
||||
+ void drawHexagon(Graphics2D,double,Point)
|
||||
- void drawHexagonRow(Graphics2D,double,double,double,int)
|
||||
}
|
||||
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.SoundLoader {
|
||||
+ {static} Clip loadMusic(String)
|
||||
}
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.MusicPlayer {
|
||||
- {static} Clip musicClip
|
||||
- {static} Clip soundClip
|
||||
- {static} boolean isPlayingMusic
|
||||
- {static} boolean isPlayingSound
|
||||
+ {static} void loadMusic(Musics)
|
||||
+ {static} void loadSound(Sounds)
|
||||
+ {static} void playMusic()
|
||||
+ {static} void playSound()
|
||||
+ {static} void pauseMusic()
|
||||
+ {static} void stopMusic()
|
||||
+ {static} void setVolume(Clip,int)
|
||||
+ {static} boolean isPlayingMusic()
|
||||
+ {static} boolean isPlayingSound()
|
||||
+ {static} Clip getMusicClip()
|
||||
+ {static} Clip getSoundClip()
|
||||
}
|
||||
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.FontLoader {
|
||||
+ {static} Font loadFont(Fonts)
|
||||
}
|
||||
|
||||
class fr.monkhanny.dorfromantik.utils.Database {
|
||||
- {static} String URL
|
||||
- {static} String LOGIN
|
||||
- {static} String PASSWORD
|
||||
- Connection database
|
||||
+ <<Create>> Database()
|
||||
+ Connection getDatabase()
|
||||
+ long getSeedBySeriesId(long)
|
||||
+ List<PlayerScore> getAllScores(long)
|
||||
+ List<String> getAllSeries()
|
||||
+ List<String> getSeriesByDateRange(Date,Date)
|
||||
+ int countSeriesByDateRange(Date,Date,boolean)
|
||||
+ List<String> getSeriesByDateRangePaginated(Date,Date,int,int,boolean)
|
||||
+ long getSeedByName(String)
|
||||
+ void addScore(long,int)
|
||||
+ void addCustomSeed(long)
|
||||
+ List<PlayerScore> getTopPlayers()
|
||||
+ List<Integer> getScoresBySeriesId(long)
|
||||
+ void close()
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
java.awt.Polygon <|-- fr.monkhanny.dorfromantik.utils.Hexagon
|
||||
@enduml
|
Reference in New Issue
Block a user