@startuml
'https://plantuml.com/class-diagram'
skinparam classAttributeIconSize 0
skinparam classFontStyle Bold
skinparam style strictuml
hide empty members
package western {
CLASS Boisson
{
}
CLASS Brigand extends Personnage implements HorsLaLoi
{
recompense
estLibre
}
CLASS CasDeTestStandard
{
}
CLASS Cowboy extends Personnage
{
gains
}
CLASS Dame extends Personnage
{
estLibre
}
ENUM Genre <<enumeration>>
{
FEMININ
MASCULIN
}
CLASS Histoire4
{
}
INTERFACE HorsLaLoi <<interface>> implements Nommable
{
}
CLASS Narrateur extends Personnage
{
}
INTERFACE Nommable <<interface>>
{
}
CLASS Personnage implements Nommable
{
}
CLASS Ripou extends Cowboy implements HorsLaLoi
{
}
CLASS Substantif
{
}
}
"Boisson"-"Substantif"
"Boisson"-"Boisson"
"Brigand"-"Cowboy"
"Brigand"-"Boisson"
"Cowboy"-"Boisson"
"Dame"-"Cowboy"
"Dame"-"HorsLaLoi"
"Dame"-"Boisson"
"Personnage"-"Boisson"
"Personnage"-"Boisson"
"Ripou"-"Brigand"
"Substantif"-"Genre"

@enduml