diff --git a/README.md b/README.md index f0e0349..d314339 100644 --- a/README.md +++ b/README.md @@ -4,26 +4,50 @@ ```plantuml @startuml -Class Oiseau { - - int frequenceNourriture - - boolean mort - - LocalDate dateDernierRepas - - Couleur couleurDuPlumage - - /boolean aFaim - - /String nom - + Oiseau(String nom,int frequenceNourriture) - + Couleur getCouleurDuPlumage() - + void changeJour(LocalDate nouvelleDate) - + boolean isMort() +class Artist { + - string name + + Artist(string name) + + boolean Equals(object obj) + + int GetHashCode() + + string ToString() } -Class Couleur { - - int rouge - - int vert - - int bleu - + Couleur(int rouge,int vert,int bleu) +class Album { + - string name + - string description + - string imageURL + - string information + + Album(string name, string file_Name, Artist artist, string description, string information) + + Album() + + void AddTitle(Title title) + + void RemoveTitle(Title title) + + boolean Equals(object obj) + + int GetHashCode() + + string ToString() } -Oiseau --> "- /couleurAiles" Couleur -OiseauTheque --> "-lesOiseaux *" Oiseau +class Playlist { + - string name + - string description + - string imageURL + - int index = 0 + + boolean shuffle = false + + boolean loop = false + + boolean looptitle = false + - List played + + Playlist(string nom, string description, string imageURL) + + Playlist() + + void AddTitle(CustomTitle morceau) + + void RemoveTitle(CustomTitle morceau) + + void NextTitle() + + void PreviousTitle() + + Title? GetCurrentTitle() + + boolean Equals(object? obj) + + int GetHashCode() + + string ToString() + - int RandomGenerator(int n) +} + +Album --> "+ artist" Artist @enduml +