@startuml class fr.monkhanny.dorfromantik.utils.PlayerScore { - String serie - int score + <> PlayerScore(String,int) + String getSerieName() + int getScore() } class fr.monkhanny.dorfromantik.utils.Hexagon { - {static} int ANGLE_BETWEEN_VERTICES + <> Hexagon(int,int,int,double) + <> Hexagon(Point,int,double) + <> Hexagon(int,int,int) + <> 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 + <> 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 + <> Database() + Connection getDatabase() + long getSeedBySeriesId(long) + List getAllScores(long) + List getAllSeries() + List getSeriesByDateRange(Date,Date) + int countSeriesByDateRange(Date,Date,boolean) + List getSeriesByDateRangePaginated(Date,Date,int,int,boolean) + long getSeedByName(String) + void addScore(long,int) + void addCustomSeed(long) + List getTopPlayers() + List getScoresBySeriesId(long) + void close() } java.awt.Polygon <|-- fr.monkhanny.dorfromantik.utils.Hexagon @enduml